Archive

Posts Tagged ‘extjs tree’

Extjs4 tree (un)check all children

October 20th, 2014 No comments

If you use Extjs treePanel with checkbox to select elements, here’s the solution how to check/decheck all tree elements.

Example for check:

Ext.getCmp('tree-list').getRootNode().cascade(function(n) 
{
    n.set("checked",true); 
});

Example for uncheck:

Ext.getCmp('tree-list').getRootNode().cascade(function(n) 
{
    n.set("checked",false); 
});
Categories: JavaScript Tags: ,

(srpski) ExtJS 4 Selektovanje tacke stabla na osnovu internog ID-a

November 24th, 2012 No comments

Sorry, this entry is only available in Serbian.

Categories: JavaScript Tags: , ,