selective permit sort in datagridView

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

Clicking on the headers in a DataGridView will sort it on that particular
column. What I want to do is only permit it in certain circumstances and only
on particulary column names. How to do that ?
 
Hi,

Found it:

Each DataGridViewColumn has a property SortMode which can be set according
you wants this column be sorted by the user or not.
 
Back
Top