General Category > Bug Report

Issue grouping by column when you have customer rendered the cell



When you apply rendering to a cell and then try to group by it, the arrow to expand or collapse is missing and the summary of the record count is missing.
I edited your cell render example ( ) and made the company name the rendered cell. I removed the image and just returned the text.

Attached are screenshots to show the issue.


That's not a bug, column render is a complete renderer of the cell means it renders the cell the way you write it.

You are overwriting the inbuilt renderers of the grid by implementing yours.

If you want to skip your renderer for the group titles and summary rows, then you can do so by checking pq_gtitle and pq_gsummary properties in the rowData and return nothing when true.

--- Code: ---if ( ui.rowData.pq_gtitle || ui.rowData.pq_gsummary ){
  return your custom renderer

--- End code ---

Hi, I know this is an old post, but I had a similar issue and did this to resolve it.  Posting it here to see if it was okay to do or if a new feature might come to allow grouping of rendered cells. What I did below is working as of the current version today.

--- Code: --- function xmGridLookup(ui) {
if (xmGridLUV.hasOwnProperty(ui.dataIndx) && xmGridLUV[ui.dataIndx].hasOwnProperty(ui.cellData)) {
var prefix = "";
if ( ui.rowData.pq_gtitle || ui.rowData.pq_gsummary ){
prefix = '<span class="pq-group-icon glyphicon glyphicon-triangle-right"></span> ';
return prefix + xmGridLUV[ui.dataIndx][ui.cellData];

--- End code ---


[0] Message Index

Go to full version