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

getValue(rowIndex, ColumnName)

getValueByColumnIndex(rowIndex, columnIndex)

// Examples
let value = grid1.getValue(0, 'ceo');
let value = grid1.getValueByColumnIndex(0, 5);

setValue(rowIndex, ColumnName)

setValueByColumnIndex(rowIndex, columnIndex)

  • Absolutely modify data using the setValue, getValueByColumnIndex functions.
// Examples
grid1.setValue(0, 'ceo', 'leno');
grid1.setValueByColumnIndex(0, 3, '99999');

getRow(rowIndex)

getRowByRowId(rowId)

// Examples
const row = grid1.getRow(0);
const row = grid1.getRow(1);
const row = grid1.getRowByRowId(1);

getRows()

getRows(startRowIndex)

getRows(startRowIndex, endRowIndex)

// Examples
let value;
value = grid1.getRows();
console.dir(value);

value = grid1.getRows(3); // get rowIndex 3 ~ lastRow
console.dir(value);

value = grid1.getRows(0, 5);
console.dir(value);

getSelectedRows()

// Examples
const value = grid1.getSelectedRows();
console.dir(value);

getCheckedRows()

// Examples
const value = grid1.getCheckedRows();
console.dir(value);