470,573 Members | 1,619 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,573 developers. It's quick & easy.

datagird auto-fit

Hi,
can anyone point me to a link whith a sample on how to auto fit the
datagrid?

i need to
1: each row should occupy as much space as needed, the last row should
fill the remaining space (or the remaining space should be equally
distributed among all colunns).
2: if grid width does not fit summ of actual column widths send add
scrollbar.
3: use columnhaeder width if larger than data width.

Is there some code around that implements it. ?

Thanks
Alex

Nov 20 '05 #1
3 1045
Check out following item on the Syncfusion FAQ:
http://www.syncfusion.com/FAQ/WinFor...c44c.asp#q877q

--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan
"alex" <ai******@hotmail.com> wrote in message
news:#O**************@TK2MSFTNGP11.phx.gbl...
Hi,
can anyone point me to a link whith a sample on how to auto fit the
datagrid?

i need to
1: each row should occupy as much space as needed, the last row should
fill the remaining space (or the remaining space should be equally
distributed among all colunns).
2: if grid width does not fit summ of actual column widths send add
scrollbar.
3: use columnhaeder width if larger than data width.

Is there some code around that implements it. ?

Thanks
Alex

Nov 20 '05 #2
Thanks
i looked at these already, but it does not include the headers

Alex

Jan Tielens wrote:
Check out following item on the Syncfusion FAQ:
http://www.syncfusion.com/FAQ/WinFor...c44c.asp#q877q

--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan
"alex" <ai******@hotmail.com> wrote in message
news:#O**************@TK2MSFTNGP11.phx.gbl...
Hi,
can anyone point me to a link whith a sample on how to auto fit the
datagrid?

i need to
1: each row should occupy as much space as needed, the last row should
fill the remaining space (or the remaining space should be equally
distributed among all colunns).
2: if grid width does not fit summ of actual column widths send add
scrollbar.
3: use columnhaeder width if larger than data width.

Is there some code around that implements it. ?

Thanks
Alex



Nov 20 '05 #3
* alex <ai******@hotmail.com> scripsit:
can anyone point me to a link whith a sample on how to auto fit the
datagrid?


<http://www.syncfusion.com/faq/winforms/search/1004.asp>

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Manlio Perillo | last post: by
1 post views Thread by Petr Studenovsky | last post: by
reply views Thread by Freddy | last post: by
20 posts views Thread by Vijay Kumar R. Zanvar | last post: by
reply views Thread by timon | last post: by
2 posts views Thread by Gaurav Gargate | last post: by
1 post views Thread by livre | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.