Hi,
In an igNumericEditor, when I exceed maxValue, it reverts back to previous value.
But when I use a numeric editor in igGrid Updating, it behaves totally different.
I couldn't explain the behaviour by writing so i prepared a demonstration.
Here is jsfiddle demonstration
As you can see, exceeding the maxValue in first editor and exceeding the editor in the grid for product ID column behaves different.
Also, can i cancel that thousand seperator in iggrid numeric editor?
Best Regards
Hello Senonder,
Thank you for the update that you found work around.
Regarding the expected behavior of NumericEditor, it that is a known issue and has been fixed internally for the latest build and waiting for release.
Please let me know if I may be further assistance for this matter.
Hi Divya,
Upon further investigating, I found a fix for this issue.
I wrote this little trick in editCellEnded event and it solved my problem.
grid.on("iggridupdatingeditcellended", function (e, args) {
if (args.value > 99999 || args.value < 1) { grid.igGridUpdating("setCellValue", args.rowID, "Value", args.oldValue); }
});
Thanks for your reply.
Regards
Thank you for providing sample application. i am able to reproduce the behavior you described. I am currently discussing this matter with the developer who is looking into the behavior of NumericEditor.
I will update you further when I have further information from the developer concerning this.
Please let me know if I may be further assistance.