angularjs-table icon indicating copy to clipboard operation
angularjs-table copied to clipboard

How to create column model with nested keys/Ids

Open nglasantha opened this issue 7 years ago • 0 comments

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}}' }

nglasantha avatar Dec 22 '17 10:12 nglasantha