It is possible to lock some columns. The locked columns do not scroll out of view when users moving horizontally across the grid.
In grid we need first to set which columns are frozen and call the grid method after loading the grid options.
It is recommended that this method is called as last when we use another grid methods. for limitations see documentation