Hello,
I would like to get the value of a column for the selected row without knowing the Field of the said column, but by knowing its index.
My JS code so far :
function rowSelected() {
var GetSelectedID = $("#grid").ejGrid("instance").getSelectedRecords()[0].myColumnFieldByIndex;
function setMyValue(value) {
$('#GetID').val(value);
}
setMyValue(GetSelectedID)
I have not found a getColumn fonction that would return the string of the column field by knowing its index.
Thanks.