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 

Parents
No Data
Reply
  • 1564
    posted

    Also, when a "property" of a DataItem is updated, the "sort order" is not refreshed .

    I can change dynamically the "priority" field value, but its position remain the same. 

    Even when I add a new item in the list... it is added at the end ! 

Children