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

I get wrong characters when retreiving the message body of an email using TIdIMAP4.UIDRetrieveTextPeek2()

How to drop the all the 1's in a correlation matrix

Today Walkin 14th-Sept