Declined
Last Updated: 13 Mar 2020 08:19 by ADMIN
Vadim
Created on: 08 Oct 2013 09:32
Category: Grid
Type: Feature Request
9
kendoGrid.options.groupCellTemplate
We need to display a custom content in the grouping cells (the empty leftmost indentation cells in data rows). Currently it is impossible since the cells are rendered "statically" (kendo.grid.js, line 337):

function groupCells(count) {
    return new Array(count + 1).join('<td class="k-group-cell">&nbsp;</td>');
}

Currently I insert my cell content AFTER the rows are rendered using $('.k-group-cell', row).html(...). But, you know, it is far not the best approach.

Please implement a grid option, say, groupCellTemplate:string|object – it won't be too hard. And let me know if you would like me to contribute.
2 comments
ADMIN
Angel Petrov
Posted on: 13 Mar 2020 08:19

Hi,

Currently we expose templates only for the columns. Moreover grouping is not supported with virtualizatio. That said I suggest modifying the html using the grid dataBound event.

Regards,
Angel Petrov
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Vadim
Posted on: 09 Oct 2013 12:32
if you use virtual scrolling and need to display custom content in k-group-cell, you won't go without this feature, 
please vote! =)