How to get cell text and display on tr rowGroup?
How to get cell text and display on tr rowGroup?
info@i-it.se
Posts: 9Questions: 3Answers: 0
in Extensions
I'm using rowGroup and the text on the rowgroup is the dataSrc. How can i add more cell data to the tr header? For example how can i get the cell text from the first row in the group and then print it on the rowgroup tr along with the dataSrc text?
Answers
Found it: in the start render function: rows.data()[0].yourArrayName
Perfect! The exact data point will depend upon your data structure and what your data source for the grouping is, but
rows().data()
is certainly the way to go.Allan