You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When grouping (showGroupPanel: true), a dummy column is inserted at the start of each grid row. This is always empty and acts as a placeholder under the group expansion triangle. This column, inserted in rowFactory.getGrouping, uses the standard cell template defined here.
The emptyfield of the grouping column is substituted in ng-cell.js:
var cellTemplate = $scope.col.cellTemplate.replace(COL_FIELD, 'row.entity.' + $scope.col.field);
This will place a watch for the expression row.entity. (note the final dot, related to this bug). This watch is redundant since there will never be any data in this cell.
Proposed solution
Modify rowFactory.js, presently line 231, to define a simple template for the grouping column, e.g.:
// Line 231:
cellTemplate: "<div class=\"ngCellText\" ng-class=\"col.colIndex()\"></div>"
The text was updated successfully, but these errors were encountered:
This is an enhancement request.
When grouping (
showGroupPanel: true
), a dummy column is inserted at the start of each grid row. This is always empty and acts as a placeholder under the group expansion triangle. This column, inserted inrowFactory.getGrouping
, uses the standard cell template defined here.The empty
field
of the grouping column is substituted in ng-cell.js:This will place a watch for the expression
row.entity.
(note the final dot, related to this bug). This watch is redundant since there will never be any data in this cell.Proposed solution
Modify rowFactory.js, presently line 231, to define a simple template for the grouping column, e.g.:
The text was updated successfully, but these errors were encountered: