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
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
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