-
17 Oct 2012 6:29 AM #1Ext JS Premium Member
- Join Date
- Nov 2010
- Location
- Dillenburg, Hessen, Germany
- Posts
- 33
- Vote Rating
- 0
grid header sorting-style after reconfigure doen't work in ff
grid header sorting-style after reconfigure doen't work in ff
hey,
have a strange problem.
i have a big grid about 30 columns and 1600 items.
but thats not enough
the grid has to different column-definitions and to speed it up i work with multiple stores.
to switch between the column-definitions and the stores i use grid.reconfigure() and this works really fine.
the problem i have now is, that firefox does not update the grid header with the sorters that are defined in the reconfigured store.
chrome does highlight the sorter in the header.
my first solution to this was to call store.sort() after every reconfigure. but in this case the browser does the whole grid render stuff twice and that is a massive problem by our customers.
Do you have any suggestions, is this a bug (couldn't find anything helpful).
btw: i use ExtJS 4.1 and also have tried 4.1.1 - it's the same problem.
-
23 Oct 2012 5:41 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,624
- Vote Rating
- 434
Do you always pass in the columns although it should execute the setSortState method of the header container which goes through the sorters of the store.
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
23 Oct 2012 8:04 AM #3Ext JS Premium Member
- Join Date
- Nov 2010
- Location
- Dillenburg, Hessen, Germany
- Posts
- 33
- Vote Rating
- 0
thanks for your reply.
i do reconfigure the store always with both store and column definition.
but as far as i see in (http://docs.sencha.com/ext-js/4-1/so...od-reconfigure) there is no different in calling setSortState if there is columns or not. or do i look on the wrong place?
and btw: why can there a different between ff and chrome?
-
23 Oct 2012 8:13 AM #4Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,624
- Vote Rating
- 434
The reason I asked about columns is if you specify columns it should be removing all from the header container and adding in the new columns and that *should* start fresh
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.


Reply With Quote