Hello,
I'm developping an application that is using the cubegrid. I have 3 dependent facets that I have grouped in a tree facet (for the record the facets names are career, function, sub-function). I would like to load the facet values on demand in order to not to have to build the tree in advance as this would be resource consuming.
I've read in the documentation that facet values could be loaded on demand:
"Including lazily loading data for expanding/collapsing tree facets and when facetValues are made visible programmatically or via menus."
From what I've seen in CubeGrid there is no event when a user expand a tree, there's only a function call to a toggle_collapse function. Reading the forums I've seen that in that case I would have to re-create the CubeGrid after adding the facet values.
Could you give an example an how to add an event when tree facet is expanded and recreate the tree?
I'm using SmartClient v8.1
Thanks.
I'm developping an application that is using the cubegrid. I have 3 dependent facets that I have grouped in a tree facet (for the record the facets names are career, function, sub-function). I would like to load the facet values on demand in order to not to have to build the tree in advance as this would be resource consuming.
I've read in the documentation that facet values could be loaded on demand:
"Including lazily loading data for expanding/collapsing tree facets and when facetValues are made visible programmatically or via menus."
From what I've seen in CubeGrid there is no event when a user expand a tree, there's only a function call to a toggle_collapse function. Reading the forums I've seen that in that case I would have to re-create the CubeGrid after adding the facet values.
Could you give an example an how to add an event when tree facet is expanded and recreate the tree?
I'm using SmartClient v8.1
Thanks.
Comment