Infragistics Home

Infragistics Forums

Infragistics community online discussions.
Welcome to Infragistics Forums Sign in | FAQ
in Search

How can I get the SortIndicator

Last post 03-05-2008 14:54 by [Infragistics] Joe Modica . 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 03-05-2008 4:24

    How can I get the SortIndicator

    Hi, I need to override the sort rule of Xamdatagrid, so It seems I have to set the LabelClickAction to nothing ,then when click at a column header ,add my custom sort rules. But I need the SortIndicator to show when LabelClickAction is nothing ,what shall I do?

    Filed under:
    • Post Points: 20
  • 03-05-2008 14:54 In reply to

    Re: How can I get the SortIndicator

    Hi -
     
    Actually, you should set the LabelClickAction to either SortByOneFieldOnly or SortByMultipleFields and the listen to the XamDataGrid's Sorting event.  In the event, you should set the Cancel parameter in the SortingEventArgs to true (which will prevent the XamDataGrid from doing the sort) and then do your own sort.
     
    Joe
     
     
    • Post Points: 5
Page 1 of 1 (2 items)
Powered by Community Server (Commercial Edition), by Telligent Systems