Docs
API
  • getHeaderCell(dataIndex: String|Number, [side: String]): Element

    Returns header cell element by column data index or column order.

    Example:

    
    var cell = grid.getHeaderCell('name');
    
    cell.addClass('my-cls');
    

    Example:

    
    var cell = grid.getHeaderCell('name');
    
    cell.addClass('my-cls');
    

    Example: Cell at zero order position in locked side

    
    var cell = grid.getHeaderCell(0, 'left');
    
    cell.addClass('my-cls');