View Full Version : cakephp with extjs Grid CRUD

09-06-2011, 07:15 AM
how to create cakephp and extjs grid CRUD,

=> I create controller for read and delete.

=> And in view/user/read.ctp and delete.ctp file build.

=> and js file create. in js file how to write

var proxy = new Ext.data.HttpProxy({
api: {
create: { url: 'Ext.data.Api.actions.create', method: 'POST' },
read: { url: '/users_controller/index', method: 'GET'},
update: { url: '/users_controller/update', method: 'POST' },
destroy: { url: '/users_controller/delete', method: 'POST' }

Is this API object is true ? its not getting controller function. Please replay, Thankyou,