Prevent User from moving *ONE*, not all, DATAGRIDVIEW COLUMNS???

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Alan Mailer

    Prevent User from moving *ONE*, not all, DATAGRIDVIEW COLUMNS???

    I have a DataGridView in one of my projects. I don't mind if most of
    this DataGridView's columns can be re-ordered by whomever is using my
    application...

    BUT... there happens to be one column in the DataGridView which I
    don't want the user of my application to be able to move. In other
    words, that particular column's DisplayIndex value should never be
    allowed to change.

    So, how do you prevent one particular DataGridView column from being
    re-ordered by a User?

    Thanks in advance; as always.
Working...