Skip to Content
0
Sep 01, 2020 at 02:48 AM

Table binding based on Icon tab filter

58 Views

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.