|
-
Jul 13th, 2005, 06:06 PM
#1
Thread Starter
Hyperactive Member
automatic column width for datagrids - how ?
I use a collection for dataSource of a datagrid. Now I want that the columns are automatically dimensioned so that all data is visible. Is there any way to do this?
Otherwise, how may I define the width of the columns (after or befor binding with the datasource).
Thank you very much for any help !
Regards,
Fabian
-
Jul 13th, 2005, 08:17 PM
#2
Re: automatic column width for datagrids - how ?
with listview I think it works if you set the column width to -1
try it with datagrid, maybe it works the same
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
-
Jul 13th, 2005, 09:26 PM
#3
Re: automatic column width for datagrids - how ?
create a datagridtablestyle and set their textboxcolumns width to 0.
sample: http://vbforums.com/showthread.php?t...gridtablestyle
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|