Mar 28, 2011, 1:14 AM
[CLOSED] # Selecting TreePanel Nodes based on Store Values
Hi how can i select Treepanel nodes and childs based on values in store data in jscript?
Something like this we do in Gridpanel.
Something like this we do in Gridpanel.
function selectRows(store, records) {
store.each(function (record) {
if (record.get("ID") == txtID.getValue()) {
records.push(record);
}
})
GridPanel1.getSelectionModel().selectRecords(records);
}
Last edited by Daniil; Apr 01, 2011 at 1:13 PM.
Reason: Please use [CODE] tags, [CLOSED]