Hi,
I need help. I have Tree Panel and Grid Panel. In tree panel are categories from database. After onclick event in tree panel is automatically loaded store from ajax request to grid panel. In grid is column with checkboxes. And here is my problem. After check/uncheck record in grid I want set checkbox icon in treepanel (id field from tree store is the same what parent field in grid store) and icons for this node parents. I haven't idea how i can do it.
1. On check/uncheck item in grid, get recordId of checked/unchecked record.
2. Get respective node in tree panel by using <treeStore>.getNodeById().
3. If node found, then call node.set('checked', true/false).
1. On check/uncheck item in grid, get recordId of checked/unchecked record.
2. Get respective node in tree panel by using <treeStore>.getNodeById().
3. If node found, then call node.set('checked', true/false).