Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 01/22/19 in all areas

  1. 1 point
  2. Can you try this approach ?! UniDBTreeGrid -> ClientEvents -> 1. UniEvents -> function beforeInit: function beforeInit(sender, config) { sender.expandedNodes=[]; } 2. ExtEvents -> function store.beforeload function store.beforeload(store, operation, eOpts) { var me=this.grid; me.expandedNodes=[]; me.getRootNode().cascadeBy(function(node) { if (node.data.expanded) { me.expandedNodes.push(node.data.id) } }); } 3. ExtEvents -> function store.nodeappend function store.nodeappend(sender, node, index, eOpts) { if (this.grid.expandedNodes && this.grid.expandedNodes.indexOf(node.data.id)!=-1) { if (node.parentNode.data.expanded) { node.expand() } else { node.data.expanded = true } } }
    1 point
×
×
  • Create New...