DataGridView visible columns

  • Thread starter Thread starter rmgalante
  • Start date Start date
R

rmgalante

I've had troubles with my DataGridView objects in that it is often
difficult
to make columns such as key columns invisible. These DataGridViews use
a BindingList as a datasource, which is loaded from an external SQL
database. Setting the columns Visible property to False does not
always work. After fiddling around with it for hours I've gotten
others to work but still haven't figured out the source of the problem.
Anyone else had problems with this and any known workarounds?

Thanks,

Rob
 
I've had troubles with my DataGridView objects in that it is often
difficult
to make columns such as key columns invisible. These DataGridViews use
a BindingList as a datasource, which is loaded from an external SQL
database. Setting the columns Visible property to False does not
always work. After fiddling around with it for hours I've gotten
others to work but still haven't figured out the source of the problem.
Anyone else had problems with this and any known workarounds?

Thanks,

Rob

Here is what I did to solve this problem. I moved all the columns that
are supposed to be invisible to the end of the row. That seems to have
worked, but I have no idea why.
 
Back
Top