We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

How to show sort direction arrows in header of a virtual grid

I''m implementing a virtual grid (as it will have to hold 10k+ rows) and I''m implementing the sorting by having pre-sorted indexes in my data model. How do I get the virtual grid to display an ascending or descending arrow in the header row?

1 Reply

AD Administrator Syncfusion Team August 6, 2004 11:11 AM UTC

Check out the Grid\samples\quickstart\GridControlSort sample. It displays a sort header in a gridcontrol. It handles the header in the SortCols method. Instead of calling grid.Data.SortbyColumn in that method, you could call your sort routine.

Loader.
Live Chat Icon For mobile
Up arrow icon