insertColumn not working correctly with pagination

Hi,
I am displaying data in a grid and am using pagination.
After the data is rendered I need to insert a column dynamically in the grid and hence am using

queryResultGrid.insertColumn(queryResultGrid.getColumnsNum() + 1,[“Select”,"#master_checkbox"],“ch”,“50”);
queryResultGrid.moveColumn(queryResultGrid.getColumnsNum() - 1, 0);

I need to do as above since by purely inserting column at 0th location the master check box does not function correctly.

My column data appears correctly on page 1. but when I select page 2 the data from column gets shifted… i.e. I am able to see column 3 data in column 2 and so on upto the last column. What could the issue be ?

Unfortunately the issue cannot be reproduced locally.
If the problem still occurs for you please, provide with a complete demo, where it can be reconstructed locally.
Here you can find a tutorial about creating a complete demo:
docs.dhtmlx.com/tutorials__auxil … pport.html