Row grouping and its subTotal for multiple level
Row grouping and its subTotal for multiple level
Rupesh2018
Posts: 12Questions: 1Answers: 1
I want to group multiple columns and also display the sub totals of each groups respectively using rowGroup extension
This discussion has been closed.
Answers
Does this example help?
https://datatables.net/extensions/rowgroup/examples/initialisation/customRow.html
Kevin
Thanks for your response, but I need Multiple Group and its Multiple subtotal.
Doesn't look like multiple groups are supported at this time:
https://datatables.net/forums/discussion/comment/122858/#Comment_122858
Kevin
That is correct. Its something that is yet to be written.
Allan
ok.Is there any other way to resolve my issue?
Is there any other way to resolve my issue? Can anybody help pls?
Yes, you could write the code for it if you wanted that feature . Its open source, so any contributions back would be warmly received.
Allan
ok thanks for suggestions
As I have resolved this issue using drawCallback function and without using rowGroup extension. Thanking you all for your valuable comments and suggestions.
This discussion has been closed.
Hi @Rupesh2018,
Hope you're doing great !
Can you help me out in achieving this (see in image attached ) functionality using datatables
Thanks
@Rupesh2018 Can I see your total code for this case. Thank you very much.
Hi @lovekiiz ,
Multi-level grouping is supported now - would that work for you?
Cheers,
Colin
Hi @colin
For Multiple level grouping this is ok. but if we want aggregate function for the same multiple groups. This is not sufficient.
Why's that? We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin
@Rupesh2018
What is x11 and x111 in your code? I had put my desired row grouping column number.
Please have a look on attached image and let me know.