79592726

Date: 2025-04-25 14:38:34
Score: 1
Natty:
Report link

I couldn't find the "default" renderer but it was so easy to recreate it that it's not worth worrying about. Here's the updated code:

  headerName: 'My Group',
  field: 'id',
  cellRendererParams: {
    suppressCount: true,
    innerRenderer: params => {
      if (!params.node.group) {
        // Custom rendering logic for individual rows
        return <GroupColumnCellRenderer {...params} />;
      }
      return `${params.node.key} (${params.node.allChildrenCount})`;
    },
  },
};
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: MontysGoat