How to get column header of the cell clicked ?
I tried
alert(cell.getCol().getIndex());
but it returns nothing.... pls help.
I think you either want:
cell.getColumn().getField(); for the field name, or
cell.getColumn().getDefinition().title; for the title
Most helpful comment
I think you either want:
cell.getColumn().getField();for the field name, orcell.getColumn().getDefinition().title;for the title