Hi,
I would like send the UID from a new entry with the other data to the server. (I use the beta from KendoUI)
schema:
columns:
I can see the uid in the input field but the model is emty:
Could you help me?
Best regards
Damir
I would like send the UID from a new entry with the other data to the server. (I use the beta from KendoUI)
schema:
schema: {
model: {
id: "ID",
fields: {
Email: { validation: { required: true}},
datauid: { editable: false}
}
},
total: function(result) {
// Count records
//alert(result.length);
GridCount_dataBound(result);
}
}
columns:
columns: [
{ field: "Email", title: "<?
php
echo $this->translate("Email"); ?>"},
{ field: "datauid", title: "<?
php
echo $this->translate("UID"); ?>", template: "<
input
type
=
'hidden'
name
=
'datauid'
value
=
'#= uid #'
>"},
{ command: [
{name: "edit"},
{name: "destroy"}
], width: "200px"
}
],
I can see the uid in the input field but the model is emty:
models [{"ID":"","Email":"cyxcyxcxy","datauid":""}]
Could you help me?
Best regards
Damir