Filtering the grid content from a tree
if (!node.isRoot){
grid1239.store.baseParams.addSqlWhereClause = ' AND GEN01_CLUSTERS.FK_GEN10 = ' + record.progId; <-- this is an example of an attribute to set
grid1239.store.load();
}else{
/* click on the root node: any filtering condition must be removed */
grid1239.store.baseParams.addSqlWhereClause = '';
grid1239.store.load();
}treePanelXXX.getSelectionModel().getSelectedNode().attributes.<attributeNameInTreeNode>PreviousAdding filter conditions to a gridNextFiltering the tree content, starting from a filter panel linked to a grid
Last updated