Hiding columns in DataGrid

  • Thread starter Thread starter Guest
  • Start date Start date
for win form applications you must use columsStyles to display col with
style
if yuo don't use this th column will be hidden
 
Ok, I followed your advice and looked into the column styles, but it does not
have any property like 'Visible' which I was hoping for. However, I found
that setting the width to 0 will work, just not sure if it's the most
efficient way to do it. For one thing, I have to keep a separate array of
column widths so I when the user un-hides a column I know what width to set
it to...
 
Back
Top