Hi
I want a small clarification on one of the use case related to IgrDataGrid (https://es.infragistics.com/products/ignite-ui-react/react/components/grids/data-grid/overview).
I have added the summaryDescription on group level. here I'm getting the " , " (Comma) after each field (As we can see in below screenshot). but we don't want that in our case. Is there any way to remove that Comma?
So, for this I need to know how can we achieve that , If there is any solution for this please suggest as I need to implement this in my IgrDataGrid.
Hoping for a positive response.
Thanks!!!
Hello Shubham,
If the groupSummaryDisplayMode on the IgrDataGrid is set to either “RowTop” or “RowBottom,” the summaries will be displayed only if the group is expanded. The value of “List” is what I would recommend if you want to see the summaries when the groups are collapsed.
Another thing you can also try in this case is to set the summaryScope property of the IgrDataGrid to “Both.” I am under the impression that you likely have this set to “Groups,” which only allows the summary to show for groups. Setting this to “Both” will place a grand total summary at the bottom of the grid for all of the rows.
Please let me know if you have any other questions or concerns on this matter.
Hello Andrew,
Thank you for your response. We have tried the same, by setting groupSummaryDisplayMode as RowTop. but when all groups are collapsed then we are not able to see the summary. Is there any way, so that we can see the summary when all groups are collapsed?
Let me know if some other information is required from our end.
Thanks.
I have been investigating into the behavior you are seeing, but there does not appear to be a way to remove this at the moment. Each of the summaries in the IgrDataGrid groups will be comma separated when using the groupSummaryDisplayMode as List. If you are looking for more separation, I would recommend setting this to be “RowTop” as this will place a summary row inside the group as a summary row aligned with the owning column.
If you would like to see the ability to remove the comma for the comma separated summaries, I would recommend suggesting a new feature request for this at our Ignite UI for React GitHub page, here: https://github.com/igniteui/igniteui-react/issues. This will place you in direct communication with our product management teams who plan and prioritize upcoming features and development based on community and user feedback.