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
515
HeaderClickAction
posted

Hi,

I'm sure this must be referenced somwhere but I just can't find it...

How can you make it so that when the user clicks a column header in the grid the column sorts and the column is selected - so they might be able to subsequently hide it, etc.

Thanks for any information.

 

Parents
No Data
Reply
  • 469350
    Offline posted

    Hi,

    There's no built-in way to do both. What I would do is set the HeaderClickAction to either sort or select. Then in the appropriate event, I would add in the second operation. For example, you could set the HeaderClickAction to Sort, and then in the AfterSortChange event of the grid, you could select the column that was sorted.

Children