I don't use the datagrid... I don't know , but it may be possible to set the column width to 0 but... forget it...
Never relly on UI (controls) to manipulate this kind of issue.
Certainlly you have the DataGrid control bound to a DataTable right?
So, on that DataTable set this:
I do not use datagrids much either, but I am attempting some manipulations where the datagrid will work really well. I am using a dataview for my datagrid.
That is an option but we shouldn't relly on a UI Control for this business issue, and this gets more significant if we're talking about the .net DataGrid.
If you manage the data from the datasource you can safelly upgrade the UI controls that no damage or recoding will be donne...
The way to do this is to use the DataGridTableStyle and set the colume width to 0 or just leave the colume out of the table style altogether. Sometimes it is better to set the width to 0 in case you want to access all the data in the datagrid as opposed to its datasource. It depends on your needs.....
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.