PDA

View Full Version : Using Editable Grid Panel to modify MySQL database



shivers222
8 Feb 2012, 3:49 PM
Hi,

I'm fairly new to Ext JS so have mercy on me if I sound like a newb...

I'm trying to get an editable Grid Panel set up so that I can use it to modify data in my database. Basically, the user would make a change to the grid panel and then either it would auto-save or have a save button which would send the changes to a php file which would update the MySQL DB.

I've looked through the forums, Google, tutorials, examples, the API documentation and I've just gotten a bit lost trying to find an answer. The only resources I could find were a few years old and don't work with JS4... I managed to get the editable Grid Panel to read in the data from the database but I couldn't figure out how to get the data to go in the other direction.

Can someone help me please?

Thank you

shivers222
8 Feb 2012, 5:09 PM
nevermind, i figured it out.

if anyone else is interested let me know and i'll write up a tutorial

Dorababu
10 May 2012, 1:12 AM
Can you write an article on this please

shivers222
10 May 2012, 6:52 AM
.... but I did use this source a lot:

http://www.sencha.com/learn/ext-js-grids-with-php-and-sql

It wasn't easy (maybe 30-40 hours all together to get it working) but if you're persistent you can figure it out.