Specify two fixed rows with fixedRowsTop: 2 and two fixed columns with fixedColumnsLeft: 2 option.

Note: You'll need horizontal scrollbars, so just set a container width and overflow: hidden in CSS.

If you're looking for an option to manually fix columns, see the Freezing section of this documentation.

Edit this page

Tutorial: Fixing