JavaScript Data Grid Row freezing

Overview

Row freezing locks specific rows of a grid in place, keeping them visible while scrolling to another area of the grid.

Example

The following example specifies two fixed rows with fixedRowsTop: 2. Horizontal scroll bars are needed, so set a container width and overflow: hidden in CSS.