angular-ui/ui-grid
View on GitHubSince that the treeView module uses treeBase module, saveState module is broken
Open
#4,742 opened on Nov 20, 2015
good first issuegrid-groupinggrid-tree-viewtype: bug
Description
Hi,
I wanted to implement treeView on my grid, and i wanted to restore tree state after refreshing data.
In the saveState module, in saveTreeView and restoreTreeView functions, there is this condition : if ( !grid.api.treeView || !grid.options.saveTreeView ){ return {}; }
It seems obsolete since the treeView module uses treeBase module , isn't it ? If i remove the condition, of course i get this error log : TypeError: Cannot read property 'getTreeView' of undefined
I missed something or i'm true ?