I am using columnSummary and nestedRows in hadsontable and I am trying to write the logic to have all rows collapsed by default (which is not currently the case). I didnt found any built--in method for this so I was trying to achieve it with
However, when I run following code in any of the above callback, the
summaryRow data gets corrupted. (after some notable time --like 1s) It adds N empty rows(I presume no of rows including collapsed), expands the nested Rows (there is no logic for expanding all rows) and shows summary in arbitrary Row. (not the row it was supposed to display).
const nestedRows = this.getPlugin('nestedRows')
If I(user) clicks on collapse/expand button on any row after words(It gets fixed)