RowGroup on Tabbed Tables Issue
RowGroup on Tabbed Tables Issue
Link to test case: https://jsfiddle.net/BeerusDev/phncg5t7/91/
Hello,
I am trying to have one of my tabbed tables use the rowGroup plugin, and I cannot get the rows to collapse/expand. In my dynamic example, I have it similar to the test case, except it is not grouping the same items together, there are a lot of different rowGroups for the same month.
UPDATE:
https://jsfiddle.net/BeerusDev/phncg5t7/92/
I was drawing the wrong table in my jquery event handler, I fixed that but it is showing two september groups
Answers
FIX: I added the order option above it and it fixed the issue, didn't realize it was dependent on that option
Side note: If there is no value for the group, can I hide that row + the data in it?
The
rowGroup.startRender
function has the parameter rows. You can check the length of the rows withcount()
or the Javascript length property to see if there are 1 or more rows to display the+
.Kevin