I am using version 2.3.0 of pqgrid. I am facing one major issue. When i hide any column that is coming under colspan columns from hide/show toggle option, then my merged cell include next cell inside merged cells. See my screenshots it will clear my problem.
I am using following code to merge cells:
let cellattr = {
mediaTemplate: { 'colspan': 5, style: 'color:red;text-align:left;' },
endUserRightsTemplate:{ style: 'display:none;' },
businessOutletsTemplate:{ style: 'display:none;' },
territoryTemplate:{ style: 'display:none;' },
languageTemplate:{ style: 'display:none;' },
};
resultDataInner['pq_cellattr'] = window.$.extend(true, {}, cellattr)
resultDataInner['mediaTemplate'] = '<div class="td-column-red-color text-center">No Net Rights</div>';