How to get cell text and display on tr rowGroup?

How to get cell text and display on tr rowGroup?

info@i-it.seinfo@i-it.se Posts: 9Questions: 3Answers: 0

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

  • info@i-it.seinfo@i-it.se Posts: 9Questions: 3Answers: 0

    Found it: in the start render function: rows.data()[0].yourArrayName

  • allanallan Posts: 61,972Questions: 1Answers: 10,160 Site admin

    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

Sign In or Register to comment.