Way to get number of child rows?
Way to get number of child rows?
I have a report with 11 data fields. All 11 appear on a computer monitor. Using the responsive feature, it will display some number of fields (3 or 4 on a typical phone, 8 or 9 on a tablet), and generate the rest in child rows. When running the report, is there a way to get the either the number of fields being displayed on the "main" line, or the number of child rows being generated? I'm trying to line up a subtotal under one of the report fields using some number of " .append('<td></td>')" in a rowGroup endRender function.
Answers
Hi @mborn ,
Yep, you can call
columns().responsiveHidden()
, and this will report the state of each column.Cheers,
Colin
colin,
Thanks as always. I'm having a little trouble with the implementation of this. Any chance of a simple example of this in use? Anyone?