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
1564
Sorting a grid ?
posted

Hi,

 I have a grid where there items must be sorted by a hidden field !

 

I have try this : 

                    <igDP:FieldLayout.SortedFields>
                        <igDP:FieldSortDescription FieldName="Priority"/>
                    </igDP:FieldLayout.SortedFields>

                        <igDP:Field Name="Priority" Label="Priority" Visibility="Collapsed">
                            <igDP:Field.Settings>
                                <igDP:FieldSettings CellClickAction="SelectRecord" AllowEdit="False" LabelWidth="300"  CellWidth="300"/>
                            </igDP:Field.Settings>
                        </igDP:Field>
                        <igDP:Field Name="Title" Label="Title">
                            <igDP:Field.Settings>
                                <igDP:FieldSettings CellClickAction="SelectRecord" AllowEdit="False" LabelWidth="300"  CellWidth="300"/>
                            </igDP:Field.Settings>
                        </igDP:Field>

 

But the list is not sorted by priority! I must set the default sort field ?

 

Thanks