How to highlight a grid row or column in AngularJs
columnDefs: [
{ field: 'name',cellClass: function(grid, row, col, rowRenderIndex, colRenderIndex) {
if (grid.getCellValue(row,col) === 'xyz') {
return 'blue';
}
}},
{ field: 'address',
cellClass: function(grid, row, col, rowRenderIndex, colRenderIndex) {
if (rowRenderIndex===3) {
return 'blue';
}
}
}
]
Comments
Post a Comment