Is this possible now with data source and is there sample how to do it:
schema: {
data: "data",
total: "count",
model: {
id: "Id",
fields: {
Id: { editable: false, nullable: true },
Naziv: { validation: { required: true} },
Child: [
{ Id: { editable: false, defaultValue: e.data.Id}}
]
}
}
},
Thanks.
schema: {
data: "data",
total: "count",
model: {
id: "Id",
fields: {
Id: { editable: false, nullable: true },
Naziv: { validation: { required: true} },
Child: [
{ Id: { editable: false, defaultValue: e.data.Id}}
]
}
}
},
Thanks.