Home Forums WinForms controls Xceed Grid for WinForms Sort by all columns except one

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #13208 |

    I have a grid which contains data in 8 columns. I would like to allow the user to be able to sort any of the columns except the first column. Is this possible?

    Imported from legacy forums. Posted by Jahmai (had 2412 views)

    User (Old forums)
    Member
    Post count: 23064

    Try this:

    gridControl1.Columns[“colName”].CanBeSorted = false;

    Imported from legacy forums. Posted by C# (had 240 views)

    User (Old forums)
    Member
    Post count: 23064

    It works, thanks a lot..

    Imported from legacy forums. Posted by Jahmai (had 3550 views)

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.