We are getting "undefined" in the "rowInit" method for the "ui.rowData.pq_gsummary" property.
We tried the code below but it is not working as per our requirement.
rowInit: function (ui)
{
if (ui.rowData.summaryRow)
{
return {
style: { "background": "red" }
};
}
},
If we add the below code in the column render function then it is working & applies color to the summary data row, not to the group summary. Please refer to the screenshot attached and advise.
render: function (ui)
{
if (ui.rowData != undefined && ui.rowData.summaryRow)
{
return {
style: { 'background': 'red' },
};
}
}
One more issue, I see if we group then sum in summaryData getting double. See the attached screenshot.