1. When I do Group By on the control the GroupBy only happens for the current page records. How can I override it to implement it on the total ItemsSource of the Grid. To try a workaround I have handled the GroupByCollectionChanged Event and removed the Pager Settings to make the Grid display all the records in the ItemsSource for the GroupBy to be applied. I am not sure if this is a right way of doing it, as it may affect the grid performance for large volume of data.
2. When i search on the ItemSource and then do GroupBy on a column I get a JIT error saying like “Cannot convert Infragistics.Grid.Row to Infragistics.Grid.GroupRow”. On tracing it I can see that the error occurs on the OnItemApplied Event which is internal to the grid. Whats the cause of this error and how can I handle it?
Hi sir,
I want xamdatagrid to to groupby by default when xamdatagrid is loaded. Expansion by date.How can i do it? I have done like this....
<igDP:FieldLayout.SortedFields>
<igDP:FieldSortDescription Direction="Ascending" FieldName="Date" IsGroupBy="True"/>
</igDP:FieldLayout.SortedFields>
and i have mentioned allowgrouping=false in every fields...
Hello Benjamin,
I am just checking if you got this worked out or you still require any assistance or clarification on the matter.
If this is what you were looking for please verify the answer so it helps other users as well.
Hi again,
My attachment didn’t seem to have passed through. Excuse me for that. I have reattached it to my original reply.
Please let me know if you require any further assistance on this matter.
thank you. but where is the upload Grid_pager_grouping.zip? I can't find it.
Hello,
I have been looking into your description and assume you are referring to the XamGrid (NetAdvantage for Silverlight LoB) rather that the XamDataGrid (NetAdvantage for WPF LoB) in which part of the forum you have posted it. Usually the XamGrid groups all its rows, not only the ones that are in the current page. I have uploaded a test sample showing the correct behavior for your reference (Grid_pager_grouping.zip). Please look into it and let me know if you are seeing anything unexpected.
Also for future references please submit the XamGrid posts to the designated community forum:
http://forums.infragistics.com/forums/373.aspx
Please let me know if you require any further assistance on the matter.