PDA

View Full Version : Cake php and Extjs through how to display data in editable grid



mayurbhuva
20 Aug 2011, 6:01 AM
Hi all ,

i have cake php page with ext js . i want to display data in editable grid from database.


how to do. please help.


Thanx,

aacoro
22 Aug 2011, 1:58 PM
did you try to use google?? There are several tuts out there that will explain how to do this, but you need the following:

1. Set up CakePhp
2. retrieve data that you want to show in a grid panel and output this as JSON or XML (json_encode($data) is in php 5)
3. create gridpanel with JSON store
4 map the JSON fields into your gridpanel

an example using older version of ext js: http://djz.hu/2008/01/09/first-steps-in-cakephp-towards-extjs/

g (http://djz.hu/2008/01/09/first-steps-in-cakephp-towards-extjs/)ood luck!

mayurbhuva
23 Aug 2011, 9:03 PM
Thanx...

Dumas
23 Jun 2012, 7:35 PM
Hello,

if you are looking for a solution which automatically maps everything and creates the views for you, take a look at banchaproject.org
(http://banchaproject.org)
Best regards
Roland