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
70
Enable sorting only on a specific column
posted

 Hi..I'm having a hard time disabling sorting in the WinGrid. I want to enable the sorting only one one column. I set up HeaderClickAction = SortSingle. I add the column on which I want to enable sorting like this: SortedColumns.Clear() and then SortedColumns.Add("column_name"). What doesn't go right is that the arrows for sorting disappear, but if i click the headers the grid performs the search on all columns. What is wrong?