I'm trying use a TreeTable binding to OData with filters. But the filter value is inside another model. This post is about XML view binding.
Model 1 (got by navigation params):
{
locationID: 'MD',
locationName: 'My location'
}
So my tree table:
<table:TreeTable rows="{
path: '/Model2',
filters: [
{
path: 'LOC_ID',
operator: 'EQ',
value1: '{Model1>/locationID}'
}
],
parameters: {
treeAnnotationProperties : {
hierarchyLevelFor : 'HIERARCHY_LEVEL',
hierarchyNodeFor : 'ROW_ID',
hierarchyParentNodeFor : 'PARENT_ROW_ID',
hierarchyDrillStateFor : 'DRILL_STATE'
}
}
}">
What do you think? any way?