How to get cell text and display on tr rowGroup?
How to get cell text and display on tr rowGroup?
![info@i-it.se](https://secure.gravatar.com/avatar/3d11cc8a08da0942781d001e77063c4f/?default=https%3A%2F%2Fvanillicon.com%2F3d11cc8a08da0942781d001e77063c4f_200.png&rating=g&size=120)
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