cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hi,

i am trying to bind a odata model to the TreeTable. i don't know what i did wrong it's not showing the data in TreeTable. i am not even sure whether it is a right way to bind the treatable, if not how can i get the TreeTable populated with following Odata ?

TreeTable:

OData :

0 Likes
View Entire Topic
imsuryapandiyan
Participant

Hi Ashok,

Try this:

rows="{
            path : 'modelTree>/WBS_HierarchySet',
            parameters : {
                countMode: 'Inline',
                treeAnnotationProperties : {
                    hierarchyLevelFor : 'modelTree>Level',
                    hierarchyNodeFor : 'modelTree>WbsElement',
                    hierarchyParentNodeFor : 'modelTree>Up'
                }
            }
        }"

Regards,

Suriya

0 Likes

Additionally the property 'hierarchyDrillStateFor' has to be set. The information should also be provided by the BES Model

treeAnnotationProperties : { 
hierarchyLevelFor : 'HierarchyLevel',
hierarchyNodeFor : 'NodeId',
hierarchyParentNodeFor : 'ParentId',
hierarchyDrillStateFor: 'DrillState'
}

Best regards

Christian