View Full Version : [2.x] Enhanced EditorGrid

21 Apr 2008, 9:24 AM
I posted a while back with code to enhance the EditorGrid and reduce the coding needed to handle the common functions with the grid. You can find the posting at:


I have since updated (re-written) the code to work with ExtJS 2.x and added some more functionality including the ability to send all the changed data back to the server in a single JSON call. Here's a summary of the features:

binds the return key for handling click and double click
binds the end key to jump to the end of the view
binds the home key to jump to the top of the view
if a menu is set in the config, then the grid binds it for the context menu
if an added/inserted record doesn't change from it's defaults it will be cleared away automatically when the edit stops
default values can be specified in the record class and will be used when inserting/adding a record

The attached code does send the save ajax call, but I can't share the script that I am using at this time. The script basically receives a JSON record, and using the available libraries to parse the information and insert it into the database.

The code is in no way perfect, but it does the job... Feedback more than welcome.

21 Apr 2008, 3:18 PM
Hey thanks for posting this.

One minor point: you may want to alter the code or put a note about pointing s.gif locally.

3 Nov 2008, 12:10 AM

3 Jun 2009, 12:22 AM
Is it possible to post your code to work with ExtJS 2.x ?

3 Jun 2009, 6:21 AM
This was written using ExtJS 2.x. If you are experiencing issues, please post the issue.

19 Sep 2009, 4:25 PM
This was written using ExtJS 2.x. If you are experiencing issues, please post the issue.
Hello. Any demo links ? Are you planning an update to work with Ext 3.x ?

Thank you.