DataGridView hidden columns still show up in column selector

Answered Closed
0
0

If I hide a column the user does not need to see (but I need it for ID’s etc) they can make it visible via the column selector.

Any way to keep hidden columns out of that list ?

  • You must to post comments
Best Answer
1
0

Hi Edmond,

yes, simply set ShowInVisibilityMenu property of the column to false.

Best regards
Frank

  • edmond girardi
    Thanks! I read it somewhere, couldn’t find it;
  • You must to post comments
Showing 1 result