I have created a simple test to display a MySQL data table on a Kendo Grid using the DEMOS example as a template (ie, using a toolbar with Add/Edit/Cancel buttons, and having a Destroy command button in the grid). I have defined my transport as:
transport: {
read: {
url: "services/user-read.php",
dataType: "JSON"
},
create: {
url: "services/user-add.php",
type: "POST"
},
update: {
url: "services/user-edit.php",
type: "POST"
} ,
destroy: {
url: "services/user-delete.php",
type: "POST"
}
},
During use, the Grid lets me Add / Edit and Delete records (and initially READS records just fine). However, my Create/Update/Destroy PHP's never get called. Is there something I have to manually do to get a Datasource to call these functions? Any good examples of this available?
Thanks in advance!
transport: {
read: {
url: "services/user-read.php",
dataType: "JSON"
},
create: {
url: "services/user-add.php",
type: "POST"
},
update: {
url: "services/user-edit.php",
type: "POST"
} ,
destroy: {
url: "services/user-delete.php",
type: "POST"
}
},
During use, the Grid lets me Add / Edit and Delete records (and initially READS records just fine). However, my Create/Update/Destroy PHP's never get called. Is there something I have to manually do to get a Datasource to call these functions? Any good examples of this available?
Thanks in advance!