jQWidgets Forums
jQuery UI Widgets › Forums › Grid › issue with values being overwritten in jqxnumberinput columns in a grid (mobile)
This topic contains 3 replies, has 2 voices, and was last updated by Hristo 8 years, 3 months ago.
-
Author
-
March 15, 2017 at 5:04 pm issue with values being overwritten in jqxnumberinput columns in a grid (mobile) #92267
I have a jqxgrid with a jqxnumberinput column that appears to be overwriting the values, when you put one column in edit mode then another in the same column. This only seems to occur on mobile, however you can also get the issue to appear if you use chrome’s device emulation with an android device.
I think you have to create the editor in the createeditor function for the column, use simple input mode, and allow decimal values in the column.
jQuery version 2.0.3, jQWidgets version 4.1.2 (also appears on later versions, mobile Android 7.1.1 (but also appears if you use chrome device emulation), chrome browser 56.0.2324.87 Android 7.1.1
There also seems to be a javascript error when this happens
Uncaught TypeError: Cannot read property ‘canEdit’ of undefined
at a.(anonymous function)._restoreInitialState (http://jqwidgets.com/public/jqwidgets/jqx-all.js:170:8486)
at a.(anonymous function).clearDecimal (http://jqwidgets.com/public/jqwidgets/jqx-all.js:170:8798)
at a.(anonymous function)._setDecimal (http://jqwidgets.com/public/jqwidgets/jqx-all.js:170:20085)
at a.(anonymous function).setDecimal (http://jqwidgets.com/public/jqwidgets/jqx-all.js:170:19729)
at Object.a.jqx.invoke (http://jqwidgets.com/public/jqwidgets/jqx-all.js:8:18745)
at Object.a.jqx.jqxWidgetProxy (http://jqwidgets.com/public/jqwidgets/jqx-all.js:8:23310)
at HTMLDivElement.<anonymous> (http://jqwidgets.com/public/jqwidgets/jqx-all.js:8:28917)
at Function.each (http://code.jquery.com/jquery-1.9.1.js:648:23)
at init.each (http://code.jquery.com/jquery-1.9.1.js:270:17)
at init.a.fn.(anonymous function) [as jqxNumberInput] (http://jqwidgets.com/public/jqwidgets/jqx-all.js:8:28889)Here is a fiddle that shows the issue, just click on one of the cells in the price column and then click on another one, the value that was already in the cell is overwritten.
http://jsfiddle.net/osawmadh/7/March 16, 2017 at 1:06 pm issue with values being overwritten in jqxnumberinput columns in a grid (mobile) #92282Hello mdorsey,
Is it possible to have solved the issue in the meantime?
Because I can not reproduce the issue and there is no any error message.Best Regards,
Hristo HristovjQWidgets team
http://www.jqwidgets.comMarch 16, 2017 at 3:02 pm issue with values being overwritten in jqxnumberinput columns in a grid (mobile) #92285I don’t think so. If you are trying to reproduce the issue with device emulation from a desktop browser, I would try the following in Chrome:
- browsing to http://jsfiddle.net/osawmadh/7/show/
- opening chrome developer tools (F12)
- toggling the device toolbar to on (CTRL+SHIFT+M while in dev tools)
- you may need to change the device profile to ipad pro and increase the zoom to 125% here
- reload the page
- click on the price cell in the first row, then the price cell in the second row
The error should appear in the console tab of the developer tools, but it may just throw you right into the debugger.
let me know if this helps or not.
Thanks,
mdorseyMarch 17, 2017 at 10:37 am issue with values being overwritten in jqxnumberinput columns in a grid (mobile) #92301Hello mdorsey,
Thank you for all your assistance. I will add a work item for this issue.
Best Regards,
Hristo HristovjQWidgets team
http://www.jqwidgets.com -
AuthorPosts
You must be logged in to reply to this topic.