getColumn(columnName)

getColumnByIndex(columnIndex)

getColumns()

// Examples
let value;
value = grid1.getColumn('usernm');
console.log(value);

value = grid1.getColumnByIndex(7);
console.log(value);

value = grid1.getColumns();
console.log(value);

getColumnName(columnIndex)

getColumnIndex(columnName)

// Examples
let value;
value = grid1.getColumnName(7);
console.log(value);

value = grid1.getColumnIndex('usernm');
console.log(value);

setColumn(columnName, property, value, table)

  • Absolutely modify column data using the setColumn function.
// Examples
grid1.setColumn('usernm','width', 200);
grid1.apply(); // Required after change