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();