Hi, Is there a way to access json object elements when declaring datatable columns?
my server is returning relationships in this way:
[
{
‘id’ : 1,
‘data’ : ‘1’,
‘extra’ : {
‘extra_id’ : 5
}
},…,{…}
]
so i want to access object properties for columns in my datatable
my datatable config:
webix.ui({
view: 'datatable',
columns: [{
id: 'id',
header: 'id',
},{
id: 'data',
header: 'data',
},{
id: 'extra.extra_id', (i dont know how to access it)
header: 'Extra',
}],
url: data.json
});