-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Description
Hi.
I found a new issue.
cellClass: function(grid, row, col, rowRenderIndex, colRenderIndex) {
if (grid.getCellValue(row,col) === 'Velity') {
return 'blue';
}
}
I'm editing the grid and change the random cell value to 'Velity', And the grid does not apply the class on the cell.
Also I'm updating the cellClass after editing and nothing happens.
gridApi.edit.on.afterCellEdit($scope,function(rowEntity, colDef, newValue, oldValue){
colDef.cellClass = 'orange';
$scope.$apply();
});
Tried also with a function instead of the 'orange' string . And still nothing.
Also i tried to reset the grid after it.
gridApi.core.refresh();
Nothing seems to be working , only rebuilding the grid.
Could you please help me with an advice, or tell me if i'm wrong ??
Thank you.