Hiding columns in DataGrid

S

Sciabarra' Antonino

for win form applications you must use columsStyles to display col with
style
if yuo don't use this th column will be hidden
 
G

Guest

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top