Hi team, I want to bind inner data in dataview. I want to display "noOfBatches " and "#batchName" . How can i do that ?
here is my json object.
{
id: "1",
noOfBatches: "8 Batches",
batches: [
{
id: "1",
batchName: "MEB1242720"
},
{
id: "2",
batchName: "MEB1242820"
},
],
}
Comments
Hello @Naufil ,
Please check the example:
https://snippet.webix.com/fsnf0vpm
There are two options:
a) provide data in the correct format
Here are the data formats that are supported: https://docs.webix.com/datatable__supported_data_types.html
b) convert the data to the correct format:
For example you can use
$init
from schemeHi @annazankevich, Thank you for the answer but i want to display both noOfBatches and batchName, not only batchName.