Unanswered: Cake php and Extjs through how to display data in editable grid
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.
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/
if you are looking for a solution which automatically maps everything and creates the views for you, take a look at banchaproject.org