Hi,
I've got a XamGrid with hierarchical data and paging. Also it's bindded to a list of objects instead of a DataTable. Here's the code:
<ig:XamGrid Grid.Row="1" Name="grdListTableCharacts" HeaderStyle="{DynamicResource listGrid_Header}" AutoGenerateColumns="False" ColumnWidth="*" Margin="10,6,9,10" ScrollViewer.VerticalScrollBarVisibility="Visible" ScrollViewer.HorizontalScrollBarVisibility="Visible"> <ig:XamGrid.FilteringSettings> <ig:FilteringSettings AllowFiltering="FilterMenu" /> </ig:XamGrid.FilteringSettings> <ig:XamGrid.SortingSettings> <ig:SortingSettings AllowMultipleColumnSorting="False" AllowSorting="True" /> </ig:XamGrid.SortingSettings> <ig:XamGrid.SelectionSettings> <ig:SelectionSettings CellClickAction="SelectRow" RowSelection="Multiple" /> </ig:XamGrid.SelectionSettings> <ig:XamGrid.ColumnResizingSettings> <ig:ColumnResizingSettings AllowCellAreaResizing="False" AllowColumnResizing="Disabled" /> </ig:XamGrid.ColumnResizingSettings> <ig:XamGrid.PagerSettings> <ig:PagerSettings AllowPaging="Bottom" PageSize="16"></ig:PagerSettings> </ig:XamGrid.PagerSettings> <ig:XamGrid.Columns> <ig:TextColumn Key="ID_TABLE" Visibility="Hidden" /> <ig:TextColumn Key="ID_TABLE_VALUE" Visibility="Hidden" /> <ig:TextColumn Key="CODE" HeaderText="Código" IsReadOnly="True" MinimumWidth="120" AllowToolTips="Overflow"/> <ig:TextColumn Key="DESC" HeaderText="Descripción" IsReadOnly="True" MinimumWidth="200" AllowToolTips="Overflow"/> <ig:ColumnLayout Key="VALUES" HeaderVisibility="false" > <ig:ColumnLayout.Columns> <ig:TextColumn Key="VALUE_FIELD_1"/> <ig:TextColumn Key="VALUE_FIELD_2"/> </ig:ColumnLayout.Columns> </ig:ColumnLayout> </ig:XamGrid.Columns> <ig:XamGrid.EditingSettings> <ig:EditingSettings AllowEditing="Cell" IsEnterKeyEditingEnabled="True" IsF2EditingEnabled="True" IsMouseActionEditingEnabled="SingleClick" IsOnCellActiveEditingEnabled="True" /> </ig:XamGrid.EditingSettings></ig:XamGrid>
I've got a problem paging my results on the second level. For example:
When I expand the first row, it shows three pages with its child rows. All pager buttons work perfectly except the last numeric button. I mean, if I press button 3 on the list of pages, Xamgrid returns to the first page at precisely that instant. Page 3 has less rows than page 1 and 2 but if page 3 has the same number of rows than 1 and 2, it works perfectly.
May you help me out with this issue?
Thanks. Julian.
Hello Julian,
I succeeded in reproducing the issue and it seems to be fixed internally. In order to ensure that you will be automatically notified when the resolution for this issue is available. I created a new support ticket for you with number CAS-92111-P5VJVS and I linked it to issue 110435. I will provide you with the additional details on the through support ticket.
If you need any additional information on this matter please feel free to ask.
Thank you very much, Elena.