ciba1
7 Jul 2010, 6:28 AM
Greetings,
I am facing an issue with NumberField editor when I use selectOnFocus:true in the editor declaration for my edit-grid. I have given custom functionality to navigate in the grid using arrow keys. When I press UP/DOWN arrow keys in IE6, the number field does not select the text. It works fine if I change from NumberField to TextField. I have attached the updated edit-grid.js file for reference (Change extension from txt to js).
To replicate (only in IE6):
Use this file in edit-grid.html and load the grid. In the pricing column, navigate using arrow keys (Up and Down). As you will notice, the text is not always selected.
Now change the code in the js file to represent a TextField instead of a NumberField in the price column. Perform the same test. It selects the values always.
Please advice if there is anything wrong in my implementation or a workaround to this problem.
Thanks in advance.
Best Regards,
Urvi
I am facing an issue with NumberField editor when I use selectOnFocus:true in the editor declaration for my edit-grid. I have given custom functionality to navigate in the grid using arrow keys. When I press UP/DOWN arrow keys in IE6, the number field does not select the text. It works fine if I change from NumberField to TextField. I have attached the updated edit-grid.js file for reference (Change extension from txt to js).
To replicate (only in IE6):
Use this file in edit-grid.html and load the grid. In the pricing column, navigate using arrow keys (Up and Down). As you will notice, the text is not always selected.
Now change the code in the js file to represent a TextField instead of a NumberField in the price column. Perform the same test. It selects the values always.
Please advice if there is anything wrong in my implementation or a workaround to this problem.
Thanks in advance.
Best Regards,
Urvi