Getting Column header

Our application have column header which contains caption/text and a checkbox(which we added through code).
The code you have posted gives column header/caption with the HTML code…
"var hdrCell=grid.hdr.rows[hdrRowIndex].cells[cellIndex]
    alert(hdrCell.innerHTML);"
We are interested to save only column label.

Basically the task of geting only text part is outside of grid component and related to basis DOM operation


var hdrCell=grid.hdr.rows[hdrRowIndex].cells[cellIndex][_isIE?innerText:textContent]

such command return only text value of cell.

The correct code is
var hdrCell=grid.hdr.rows[hdrRowIndex].cells[cellIndex][_isIE?“innerText”:“textContent”]