5 Dec 2011 1:03 AM #1
Save problem in EditorGridPanel
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.
5 Dec 2011 12:43 PM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
I have moved this thread to the Ext JS 3 Help & Discussion forum... please post in the appropriate forumMitchell Simoens @LikelyMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.