EasyUI
Frozen Columns for DataGrid
Tutorial » Frozen Columns for DataGrid
This example demostrates how to freeze some columns,The frozen columns do not scroll out of view when users moving horizontally across the grid.

To freeze columns you should defines the frozenColumns property. The frozenColumn property is same as columns property.
You don't need to write any javascript code, so you can create datagrid component just like this: