P
Peted
Hi
using vs 2008 c#
i wonder if anyone can suggest on how i can achieve the following
I have a datagridview on a form, and i have a user preferences
confiuration dialog that allows a user to make any column on this
datagrid visible or invisible.
This of course uses the datagridview column properties Visbile.
This is fine, except that on the grid i have some columns that i never
want visible, never accessable to the user (but visible to me in the
source code. If i just use visible = false, then they appear in the
"hidden columns" list, and this allows the user to set them to
visible.
So i need a way to make a column invisble and "tag" it in some way so
i can test it so i can prevent it appearing in a list of "hidden
columns"
As far as i can see there is no TAG property for columns.
If anyone has any suggestions thanks in advance.
Peted
using vs 2008 c#
i wonder if anyone can suggest on how i can achieve the following
I have a datagridview on a form, and i have a user preferences
confiuration dialog that allows a user to make any column on this
datagrid visible or invisible.
This of course uses the datagridview column properties Visbile.
This is fine, except that on the grid i have some columns that i never
want visible, never accessable to the user (but visible to me in the
source code. If i just use visible = false, then they appear in the
"hidden columns" list, and this allows the user to set them to
visible.
So i need a way to make a column invisble and "tag" it in some way so
i can test it so i can prevent it appearing in a list of "hidden
columns"
As far as i can see there is no TAG property for columns.
If anyone has any suggestions thanks in advance.
Peted