cancel
Showing results for 
Search instead for 
Did you mean: 

Table binding based on Icon tab filter

0 Kudos

Hi,

I have JSON like below.

{ [ "Env1": { "name": "xxx", "runs" :{[ "r1", "r2" ] } }, "Env2": { "name": "xxy", "runs" :{ [ "r1", "r2", "r3" ] } }, "Env3"... ] }.

In the above Env1, Env2 as Icon tab filters and it grows based on JSON data..

Under each icon tab filter, there is a table and the binding should change based on icon tab filter.

If Env1 selected, Table should bind to { "name": "xxx", "runs" :{[ "r1", "r2" ] }.

<Table items="{path: 'getHist>/Env1'}"/>

how to replace Env1 and based on icon tab key it should change.

I have tried <Table items="{path: 'getHist>/'}"/>, but it is not working. Please suggest on binding.

Accepted Solutions (0)

Answers (1)

Answers (1)

prashil
Advisor
Advisor
0 Kudos

Hi Sowmya,

I suggest to perform the table binding at the controller using bindItems method. This would allow you to read the icon tab filter value and based on it table binding can be performed.

Thanks

Prashil