JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › General Discussions › DataAdapter Second Level json datafields › Reply To: DataAdapter Second Level json datafields
May 20, 2020 at 12:04 pm
#100766
admin
Keymaster
Hi Gerhard,
You can use this:
dataSource: new Smart.DataAdapter({ dataSource: data, dataFields: [ {name: 'text1', dataType: 'string'}, {name: 'object', dataType: 'string'} ] }), columns: [ { label: 'Text 1', dataField: 'text1' }, { label: 'Object', dataField: 'object' }, ]
Regards,
Peter
Smart UI Team
https://www.htmlelements.com/