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
close icon

sort icon in column header in left side

How do I add a sort icon (up/down arrow) in a GridControl''s column header in left side of column? By default it''s in right side... thx for your help! Gilles

3 Replies

AD Administrator Syncfusion Team August 3, 2005 04:05 PM UTC

There is no property setting that handles this. You can catch the DrawCellDisplayText event and do it yourself. Here is the GridControlSort sample tweaked to do this. http://www.syncfusion.com/Support/user/uploads/CS_d94cfa20.zip


GI Gilles August 4, 2005 12:45 PM UTC

>There is no property setting that handles this. > >You can catch the DrawCellDisplayText event and do it yourself. Here is the GridControlSort sample tweaked to do this. > >http://www.syncfusion.com/Support/user/uploads/CS_d94cfa20.zip > thx for the example! is it already tweaked for my problem? or i need to modify it?


AD Administrator Syncfusion Team August 4, 2005 01:24 PM UTC

I think it is set to go. If you click-sort a column, the sort icon should appear to the left. Did you try it and it did not work for you?

Loader.
Live Chat Icon For mobile
Up arrow icon