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

Popular posts from this blog

Today Walkin 14th-Sept

Hibernate Search - Elasticsearch with JSON manipulation

Spring Elasticsearch Operations