PDA

View Full Version : Tree Panel reconfigure bug?



liuxing_sc
26 Aug 2011, 3:17 PM
due to the requirement from our customer, i have to implement tree with dynamic columns, so i decided to look this function up in the api doc. fortunately, i found this one: reconfigure (http://www.sencha.com/forum/#!/api/Ext.panel.Table-method-reconfigure)( [Ext.data.Store store], [Object[] columns] ). after finishing coding, i found whenever it process this line, the program stopped. so i examined it carefully and found the store which is needed in this method is a Ext.data.Store, and what is required for a tree is definitely a TreeStore. then i checked the class extending Hierarchy and found it has nothing to do with data.Store, they are sibling class. i was wondering why api written like that no matter whether it works or not? is it a bug?

skirtle
29 Aug 2011, 3:32 AM
is it a bug?

Looks like it.