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
2275
Cannot get SortByMultipleFields to work.
posted

I can't get SortByMultipleFields to work in my xamDataGrid.  I'm setting the LabelClickAction to SortByMultipleFields in FieldLayout.FieldSettings.  I can get other things in there to work like the CellClickAction, but not this.

Any thoughts?

Thanks.

Parents
No Data
Reply
  • 2275
    posted

    Well, I have kind of answered my question, I did not know that holding down the CRTL key would be the selector in adding an additional field to sort by.

    Here is something related.  In online documentation it says to do this: 

    <!-- initialize settings for the fields in this specific field layout  -->
    <igDP:FieldLayout.FieldSettings>
    	<igDP:FieldSettings CellClickAction="SelectRecord" AllowEdit="False" LabelClickAction="SortByMultipleFields"/>
    </igDP:FieldLayout.FieldSettings>
    
    However, when using the designer and selecting the same properties they did not show up and when I set  them, they showed up here:
    <igDP:XamDataGrid.FieldSettings>
    	<igDP:FieldSettings CellClickAction="SelectRecord" LabelClickAction="SortByMultipleFields"  AllowEdit="False" />
    </igDP:XamDataGrid.FieldSettings>
    
    So my question is where is the best place to put these settings?
    Thanks.


Children