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

Make fixed column

  • setFixedColumn(columnIndex) : make fixed column by columnIndex th cellIndex
  • @columnIndex : include hidden cell

grid1 = new TbsGrid('grid1');

let options = {};
grid1.setTopColumns(topColumns);
grid1.setFooterColumns(footerColumns);
grid1.setGrid(columns, options);
grid1.setData(grid_data);

grid1.setFixedColumn(5);

Remove fixed column

  • removeFixedColumn() : clear fixed column

grid1 = new TbsGrid('grid1');

let options = {};
grid1.setTopColumns(topColumns);
grid1.setFooterColumns(footerColumns);
grid1.setGrid(columns, options);
grid1.setData(grid_data);

grid1.removeFixedColumn();