selective permit sort in datagridView

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 ?
 
G

Guest

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top