How to make an editable data grid using ExtJS

I’m not going to go into a great amount of detail here, but I will post the three files required for the process. If you know PHP (this uses the CodeIgniter framework) and JS (this uses the ExtJS framework) then it will make sense. Hopefully this saves people some time and will serve as a basis for a good project.

Model: http://themattreid.pastebin.com/fd163b0
View: http://themattreid.pastebin.com/f2a14ba54
Controller: http://themattreid.pastebin.com/f40599353

3 thoughts on “How to make an editable data grid using ExtJS

  1. psu says:

    The add row btn and doesn’t work and the delete row btn doesn’t perform database action.

    Can u please help me!

  2. admin says:

    Well, all of my code works. These are examples, you’ll need to change things according to your needs. Maybe you don’t have CodeIgniter installed, maybe you aren’t using ExtJS 3.0… I don’t know. There is a lot of documentation available on both framework sites to help you with this.

  3. psu says:

    thanks. I think i have everything set right. I will recheck.
    Thanks again!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>