Posted 14 September 2017, 12:01 pm EST
Hi,
We are using Flexsheet with angular 2 and need to render Hierarchical structure of Data from service. I have came across this below fiddle example using child-items-path property. Is it possible to render this below nested array structure in flexsheet Angular 2:
the ‘engine’ subsection has different properties than parent section.
{ name: ‘car’, price: 25445, qty: 1,items: [
{ name: ‘wheel’, price: 342, qty: 4 },
{ name: ‘engine’,items: [
{col1:‘’,col2:‘’,col3,‘’,col4:‘’ },
{ col1:‘’,col2:‘’,col3,‘’,col4:‘’ },
] },
{ name: ‘seat’, price: 542, qty: 4 },
{ name: ‘chassis’, price: 4342, qty: 1 }
] }
http://fiddle.jshell.net/Wijmo5/n3715avm/
A Sample code of Flexsheet(Angular 2) using above array structure will be helpful.
Thanks,
Sasmita


