on 09-14-2015 1:43 PM
Hi All
From XSODATA I am getting json results like
0: {
ADDRESS: "LAKE DR"
CITY: "ISSAQUAH"
IS_ENABLED:0
},
1: {
ADDRESS: "LAKE DR"
CITY: "ISSAQUAH"
IS_ENABLED:1
}
In results each object having flag called IS_ENABLED, based on this flag I should bind the results in two different table. Is there any way to group and bind the results ?
Thanks in Advance.
Suja Arjunan
Hi Suja,
Consider, you want to bind values only when IS_ENABLED=0. Then you can make use of filter while binding like this -
<Table
id="locationTable"
items="{
path:'/modelData',
filters: [{ path: 'IS_ENABLED', operator: 'EQ', value1: 0}]
}" >
Check this sample - Plunker - TableBindingFilter
Regards,
Sai Vellanki.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.