PDA

View Full Version : Save problem in EditorGridPanel



anwar31dec
5 Dec 2011, 1:03 AM
Hi all
I am using EditorGridPanel with cellEditor which acts nearly like Excel. We implemented Arrow Keys to move among rows and

columns. We do row validation when user moves from one row to another (specifically in rowdeselect event) and then save the

record. There is some issues are:

1. For the last row of the grid, rowdeselect event does not fire, as we do not have any other control after the grid.
2. rowdeselect event fires if we move from row to row using Tab, Enter & Arrow keys. But when user clicks on another row

using mouse - events do not come in correct sequence, so focus moves to the new row, but earlier row not saved. Currently we

solved this by calling stopEditing at the beginning of rowdeselect event.

We would like to know how we can solve these two issues and whether there are more robust ways to handle automatic grid saving.

mitchellsimoens
5 Dec 2011, 12:43 PM
I have moved this thread to the Ext JS 3 Help & Discussion forum... please post in the appropriate forum