Rowgroup omit group footer on certain conditions?
Rowgroup omit group footer on certain conditions?
![vinama](https://secure.gravatar.com/avatar/55fd7ab8fb42f962edec91b5542b9b77/?default=https%3A%2F%2Fvanillicon.com%2F55fd7ab8fb42f962edec91b5542b9b77_200.png&rating=g&size=120)
Hello everyone.
I'm usig Rowgroup extension, and I'm trying to not display a group footer on certain conditions. From the docs, in order to not display group footer, i can set the property endRender to null, but if I set the endRender to a function that in certain conditions return null, I get a "no group" footer.
Examble:
https://live.datatables.net/rozopewi/1/edit
Is it possible to no display the group footer at all?
Thank you.
This question has an accepted answers - jump to answer
Answers
Use the
rowGroup.emptyDataGroup
option to display nothing. Updated example:https://live.datatables.net/rozopewi/2/edit
Kevin
Thank you Kevin.