Threaded View
-
12 Feb 2013 5:52 PM #1
'beforesort' event is not fired by TreeStore
'beforesort' event is not fired by TreeStore
REQUIRED INFORMATION
Ext version tested:
- Ext 4.1.1
Browser versions tested against:- FF18.0.2
DOCTYPE tested against:
- ____
Description:
- Observe slow sorting on Tree Panel, debugging with firebug, found that events are not suspended on Ext.tree.View which suppose to per 4.1 docs.sencha.com
- I am not even able to find 'beforeSort' event on TreeStore instance, neither 'onBeforeSort' function on Ext.tree.View
- Is it something documented but never implemented?
Steps to reproduce the problem:
- using tree grid sample with firefox+firebug
The result that was expected:
- as documented, suspendEvents called on tree.view.store(node store) before sorting on tree, resumeEvents and refresh tree view after sorting
The result that occurs instead:
- events not suspended on tree.view.store, layout gets update on 'sort' event fired by each node
Test Case:
Code:<<insert working code to reproduce the report >>
HELPFUL INFORMATION
Screenshot or Video:
- attached
See this URL for live test case: http://
Debugging already done:
- none
Possible fix:
- register 'beforesort' event on TreeStore
- before sort, fire 'beforesort' event on TreeStore
- work around, override TreeStore
Additional CSS used:
- only default ext-all.css
Operating System:
- ________
Looks like we cannot reproduce this. Please provide another test case to reproduce this issue.


Reply With Quote