Hello!
There is a way to hide PagerSettings in Grouped rows, but PagerSettings of entire table must be visible?
Any way, code behind or in xaml.
I tried someshing like this:
grid.GroupBySettings.GroupByColumns[0].ColumnLayout.PagerSettings.AllowPaging = PagingLocation.None;
grid.Rows[0].ChildBands[0].ColumnLayout.PagerSettings.AllowPaging = PagingLocation.None;
but it not work.
where i can read about ChildBands and ColumnLayout or Manager?
Thanks, zozz
Hello montyzozz,
here you can find information about Child Bands Visibility http://help.infragistics.com/NetAdvantage/Silverlight/2010.2/CLR4.0/?page=xamGrid_Change_Child_Bands_Visibility.html
and some information for ColumnLayout
http://help.infragistics.com/NetAdvantage/Silverlight/2010.2/CLR4.0/?page=SL_xamGrid_Define_Column_Layout.html
and for Template ColumnLayout
http://help.infragistics.com/NetAdvantage/Silverlight/2010.2/CLR4.0/?page=xamGrid_Template_Column_Layout.html
If you still have any questions , do not hesitate to share them!
Hope that helps,
regards Nikola.
Hello, Nikola
I read that links, but not found needed information.
As I understood, when XamGrid is Grouped by some column, and i get XamGrid.Rows collection that typed as GroupByRow. So, can i get PagerCellControl or PagerControl or smth, that located inside only a Gouped row, and entire XamGrid PagerControl must be visible.
Best regards
zozz
Hi zozz,
Unfortunately, currently we don't support paging of the GroupBy rows themselves.
-SteveZ
Hi, Stephen
That solution hides all pagers, but i want that pager located in bottom of grid been visible, to enable paging of grouped rows and hide pagers within GroupedRows (see a screenshot in my previous post).
So, how i can implement this feature?
Regards,
Hi,
You can try something like:
private void grid_GroupByCollectionChanged(object sender, GroupByCollectionChangedEventArgs e)
{
if (this.grid.GroupBySettings.GroupByColumns.Count != 0)
this.grid.PagerSettings.AllowPaging = PagingLocation.None;
else
this.grid.PagerSettings.AllowPaging = PagingLocation.Both;
}
Hope this helps,