-
6 Jun 2012 11:53 AM #1
Unanswered: When tabbing in Celling Editing Grid Skip Action column
Unanswered: When tabbing in Celling Editing Grid Skip Action column
I setup a grid through architect, similar to the example "Cell Editing Grid Example", but when I tab from an editable column to the next column and that column is the action column, it highlights the action column instead of skipping to the next editable column. Is there some trick to this I am missing? I looked at the source cell-editing.js and I can't figure out what make the tab skip over the action column.
-
11 Jun 2012 6:45 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,684
- Vote Rating
- 435
- Answers
- 3111
What Ext JS 4 version are you using? In 4.1 it should skip over the action column.
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
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 services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
11 Jun 2012 6:48 AM #3
4.0.7
The vendor we use to license ExtJS is still on 4.0.7 not 4.1 yet.
-
16 Jul 2012 3:50 AM #4
Doesn't work in 4.1.1
Doesn't work in 4.1.1
Hi,
The code in the cell editor plugin handles the tab by looking for the next editable field, so the action column is skipped. In my grid, the action column is rightmost, so the tab from the field to its left jumps to the first column on the following row.
This looks like a bug to me.
Code:onEditorTab: function(editingPlugin, e) { var me = this, view = me.views[0], record = editingPlugin.getActiveRecord(), header = editingPlugin.getActiveColumn(), position = view.getPosition(record, header), direction = e.shiftKey ? 'left' : 'right'; do { position = view.walkCells(position, direction, e, me.preventWrap); } while(position && !view.headerCt.getHeaderAtIndex(position.column).getEditor()); if (position) { editingPlugin.startEditByPosition(position); } },
Last edited by yyogev; 16 Jul 2012 at 3:54 AM. Reason: reformat code
Yaron Yogev
IT Software Developer
-
20 Nov 2012 8:11 AM #5
We just put on 4.1.1 from our vendor and tabbing does appear to work now.


Reply With Quote