PDA

View Full Version : [CLOSED] Grid editor only shows once after pressing return



stratadev
May 30, 2013, 5:23 PM
Go here: http://examples2.ext.net/#/GridPanel/Editable/Editor_with_DirectMethod/

-Click on a cell
-Press the return key
Editor is enabled
-Press the return key
Editor is disabled
-Press the return key or any arrow keys
Nothing happens

This looks like a bug to me. If its not, is there a work around? I would like to be able to press enter indefinitley and use the arrow keys after pressing return (to close the editor) to navigate the grid.

Thanks,
Ryan

Baidaly
May 30, 2013, 11:23 PM
Hello!



Grid editor only shows once after pressing return

This looks like a bug to me. If its not, is there a work around?

Sorry, but I'm not sure what exactly do you mean. Can you provide more details? Also, can you provide your browser and version of Ext.NET?


I would like to be able to press enter indefinitley and use the arrow keys after pressing return (to close the editor) to navigate the grid.

You should use KeyMap to change behavior. Please, take a look at the following example: http://examples2.ext.net/#/Keys/KeyMap/BorderLayout_Regions_Toggle/

stratadev
May 31, 2013, 2:53 PM
Not sure how else to say it but hopefully the following is clearer.

Using your example grid at http://examples2.ext.net/#/GridPanel/Editable/Editor_with_DirectMethod/

Click on a cell and press return. Notice the editor is enabled and you can type to modify the data. Press Return again and the editor completes the edit and the cell is back to just being highlighted. Without clicking or doing anything else, press Return again. Notice the editor does not re-enable. Nor do any directional/special keys work (arrows tab etc.) At this point I believe the Return key should re-enable the editor rather than do nothing. I would also expect the directional/special keys to work as they do the first time you click on a cell.

Now if you mouse click on another cell the special keys work again.

Thanks,
Ryan

Baidaly
May 31, 2013, 10:16 PM
Not sure how else to say it but hopefully the following is clearer.

Using your example grid at http://examples2.ext.net/#/GridPanel/Editable/Editor_with_DirectMethod/

Click on a cell and press return. Notice the editor is enabled and you can type to modify the data. Press Return again and the editor completes the edit and the cell is back to just being highlighted. Without clicking or doing anything else, press Return again. Notice the editor does not re-enable. Nor do any directional/special keys work (arrows tab etc.) At this point I believe the Return key should re-enable the editor rather than do nothing. I would also expect the directional/special keys to work as they do the first time you click on a cell.

Now if you mouse click on another cell the special keys work again.

Thanks,
Ryan

Sorry, I misunderstood you. However, I've tested with the trunk from our SVN and it works fine. Can you update and retest?

stratadev
Jun 05, 2013, 6:48 PM
Checked with latest and it does appear to work correctly now.

Thanks,
Ryan

Baidaly
Jun 05, 2013, 9:37 PM
Thank you for updating!