I'm using PQ7.1 and want to style the summary rows when the group changes. Here is the code for the groupModel:
groupModel: {
on: true, header: false,
dataIndx: ['siteabbr'], title: ["{0}"],
showSummary: [true],
},
When I look at the DOM there are no classes identifying the summary rows. The documentation says grouping adds properties to the rows of pq_gtitle, pq_gsummary, pq_grandsummary, pq_level, pq_close but I don't see how I can use that for CSS styles if those names don't show up in the DOM.
What is the preferred way to style summary rows in the grid given the latest version 7.1.0?
Figured it out.
rowInit: function(ui) {
if (ui.rowData.hasOwnProperty('pq_gsummary') == true) {
return { cls: 'pq_summary' };
}
},