Skip to content

How to create column model with nested keys/Ids #38

@nglasantha

Description

@nglasantha

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions