Hi,
I am storing the colModel in a database because I want to restore the grid column order when users load the page.
First I tried changing the colModel property before the grid loads, but my json data has the original order and the data went messed up.
So I tried loading the grid first and then applying the remapColumns method, but the problem now is the filterToolbar. When using remapColumns the data and header reorder, but the filter toolbar fields doesn't.
Actually, the problem is the json data the filter returns. The json data is in original order but the grid column order is different and the data messed up.
Any idea?
Is there another way to change the columns order?
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top