RealGrid2 Guide
Grid components
Fixed rows

Freeze Rows

You can set FixedOptions to exclude one or more of the grid's top rows from scrolling. By default, frozen rows are excluded from sorting and filtering.

Row freeze

You can exclude one or more top rows from scrolling by specifying rowCount among the properties of FixedOptions.

gridView.setFixedOptions({
   rowCount: 2
});