I have a Grid linked to a remote dataSource that's using a rowTemplate.
I've now configured the dataSource to group by a particular column and also set the column definition to hidden for the grouped field. Finally, in the rowTemplate, the particular <td> for the grouped field has display: none applied.
This all works -- the column for the grouped field is not displayed and it all looks fine.
However, I don't seam to be able to use a groupHeaderTemplate for the hidden column, so my internal field name is displayed in the group header. I've tried simply using: groupHeaderTemplate: '#= value #' in the column definition but it seems to be ignored.
I have another Grid which is essentially the same, but doesn't use a rowTemplate. This allows me to specify a groupHeaderTemplate for the hidden column.
How is it possible to combine a custom rowTemplate and a groupHeaderTemplate?
I've now configured the dataSource to group by a particular column and also set the column definition to hidden for the grouped field. Finally, in the rowTemplate, the particular <td> for the grouped field has display: none applied.
This all works -- the column for the grouped field is not displayed and it all looks fine.
However, I don't seam to be able to use a groupHeaderTemplate for the hidden column, so my internal field name is displayed in the group header. I've tried simply using: groupHeaderTemplate: '#= value #' in the column definition but it seems to be ignored.
I have another Grid which is essentially the same, but doesn't use a rowTemplate. This allows me to specify a groupHeaderTemplate for the hidden column.
How is it possible to combine a custom rowTemplate and a groupHeaderTemplate?