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
85
Column header icons
posted

Hi,

in the BeforeSortChange events I add this code:

e.Cancel = True

in order to require data from the database, but preventing the grid filtering no icons appear in the column header...

how can I add the sort icon to the column header programmatically? (the default arrow icon can be good)

Thanks,

Salo 

Parents
No Data
Reply
  • 469350
    Verified Answer
    Offline posted

    You should set the HeaderClickAction on the column 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. 

Children