Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2387
disabling sorting on all columns
posted

The one thing I really hate about Infragistics controls is that when I have not worked with them for more then about two weeks, I forget where all the little attributes are to do anything.  Again, I have spent about 30 minutes looking for what should be obvious:

How do I prevent a DataGrid header from sorting when the user clicks on it?

Sam

  • 17259
    Verified Answer
    Offline posted

    grid.DisplayLayout.Override.HeaderClickAction = HeaderClickAction.Select

    MS DataGridView is very simple and you can find things there very fast, but...