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
415
Custom default sorting of UltraWinGrid
posted

Hi all,

I have a problem about create a custom sorting of WinGrid.

For example: When user click on header column to sorting, I want the grid still have indicator (and everything like default it be) but don't implement the default sorting because I will use my sorting for it.

How I do that?

Thanks a lot

Dan

Parents
  • 1590
    Verified Answer
    posted

    Hi, Dan

     

    Set grid.DisplayLayout.Override.HeaderClickAction to ExternalSortMulti or ExternalSortSingle.

    This will allow the user to change the sort indicator icon, but prevent the grid from doing any sorting of the data - you can then sort the data yourself.

     

    Alex.

     

Reply Children