PDA

View Full Version : Are there any treecombo extension for Ext JS 4.1?



talha06
7 Aug 2012, 12:25 PM
Hello everyone,

I'm looking for a treecombo implementation that work with 4.1.x version.
I'll be happy if someone can share it..

Thanks & regards.

scottmartin
7 Aug 2012, 1:10 PM
Have a look at the following:
http://jsfiddle.net/wallysson/ZvnaM/

Scott.

talha06
7 Aug 2012, 1:40 PM
Have a look at the following:
http://jsfiddle.net/wallysson/ZvnaM/

Scott.
Scott,
I couldn't see anything related to TreeCombo.. :-?

37800

scottmartin
7 Aug 2012, 8:37 PM
This is due to the wrong CSS file for this project:

Please add resource for 4.1 to replace 4.0
http://extjs.cachefly.net/ext-4.1.1-gpl/resources/css/ext-all.css

or simply run the code local

Scott

evant
7 Aug 2012, 8:42 PM
Or: http://dev.sencha.com/deploy/ext-4.1.0-gpl/examples/ux/TreePicker.js

Which is used: http://dev.sencha.com/deploy/ext-4.1.0-gpl/examples/simple-tasks/

Diavololt
8 Aug 2012, 2:21 AM
It's be nice component, with TreeStore filtering:


http://www.sencha.com/forum/showthread.php?184010-TreeStore-filtering.


But now is no function to filter TreeStore, in Ext 3.4.0 that function has been:

...
var temp = "Blue";
var re = new RegExp('.*' + temp + '.*', 'i');
tree.filter.clear();
tree.filter.filter(re, 'text');
..

Any Sencha position to work on this?

talha06
8 Aug 2012, 4:37 AM
thanks Scott for your help, I always prefer to use widget from library itself rather than ux because of future migrations. So I used treepicker as evant suggested. Thanks a lot to you all. :)