-
10 Oct 2011 2:24 AM #1
How to deselect an item give the model's id in a treepanel?
How to deselect an item give the model's id in a treepanel?
Hi,
Given the id of a model, how can I deselect it in a treepanel (bound to a tree store)? I am stucked at this line in my controller:
The deselect method asked for a argument of array Ext.data.model[] or index. But what i do have is its id of the model.Code:this.getMyItemsTree().getSelectionModel().deselect();
Any help is appreciated. Thanks!


Reply With Quote