SMART datagrid v.1 > Classes > DisplayOptions
The number of fixed columns.
The cells of fixed column will be excluded from horizontal scroll, and if EditOptions.fixedColumnEditable is not true, it will not be able to edit by default.
Defaults to 0.
grid.setOptions({
display: {
fixedColumnCount: 3,
fixedRowCount: 2
}
});
grid.setDisplayOptions({
fixedColumnCount: 3,
fixedRowCount: 2
});
grid.displayOptions().setFixedColumnCount(3);