Notice: Undefined offset: 0 in /home/withart1000/html/net_tobesimple/page_header.php on line 24

Notice: Trying to access array offset on value of type null in /home/withart1000/html/net_tobesimple/page_header.php on line 29

Notice: Trying to access array offset on value of type null in /home/withart1000/html/net_tobesimple/page_header.php on line 30

Notice: Trying to access array offset on value of type null in /home/withart1000/html/net_tobesimple/page_header.php on line 31

Notice: Trying to access array offset on value of type null in /home/withart1000/html/net_tobesimple/page_header.php on line 32

Notice: Trying to access array offset on value of type null in /home/withart1000/html/net_tobesimple/page_header.php on line 33

Notice: Trying to access array offset on value of type null in /home/withart1000/html/net_tobesimple/page_header.php on line 34

Notice: Trying to access array offset on value of type null in /home/withart1000/html/net_tobesimple/page_header.php on line 35

Notice: Trying to access array offset on value of type null in /home/withart1000/html/net_tobesimple/page_header.php on line 36
TbsGrid :: Html Data Grid

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