Column Freeze
You can fix one or more columns from the left or right of the grid's top columns by setting FixedOptions. Fixed columns (groups) are excluded from the horizontal scroll area. Additionally, columns in the fixed area can be designated as non-editable, non-movable, and non-resizeable.
Row freezing can also be specified.
Freeze left column
You can fix columns starting from the left column by specifying colCount among the properties of FixedOptions.
gridView.setFixedOptions({
colCount: 2
});
Freeze right column
You can fix columns starting from the last column by specifying rightCount among the properties of FixedOptions.
gridView.setFixedOptions({
rightCount: 2
});
var rightFixed = gridView.fixedOptions.rightFixed;
gridView.setFixedOptions({
rightFixed:!rightFixed
});