InsertColumn and parse jsarray

After ajax response, I am removing columns and adding new one as per need.

But when I try to load new data with parse(myarray, “jsarray”), columns that are newlly created
are not getting populated.

After calling setHeader appropriately it is working fine…

setHeader() method is the mandatory for creating the columns in your grid.