angularjs-table
angularjs-table copied to clipboard
How to create column model with nested keys/Ids
Hi,
my objects (rows) array as below.
[ {
row1: {
data1: {
k1: v1
},
data2: {
k1: v1
}
},
row2: {
data1: {
k1: v1
},
data2: {
k1: v1
}
}
}]
I tried to use key 'data1.k1' like this but did not work, I am suing template option with angular interpolation. but sorting and searching does not work with this. { id: 'k1', key: 'data1.k1', label: 'Label', sort: 'string', filter: 'like', template: '{{row.data1.k1}}' }