I having a strange problem with the Jquery numeric editor.
I have several of them inside of a Jquery dialog window.
I set each of their values with Javascript and then open the dialog.
All looks great. I then make a change to some of their values and save the data.
I then go to another data set and bring up same dialog window. When it comes up it has the correct data values from the new data set. However when I hover the mouse over any fields that were changed in step 1 (See above), the value from that data set appears in that editor replacing the correct value from the new data set.
I tried to destroy the editors and then recreate them for each new dataset. But that does not work either. The editors show up as blanks and then the correct data shows up when I hover over each editor.
Note: I have no mouse events setup for any of these controls.
Any ideas what is going on?
Thanks.
I figured out the answer to this problem. For everyone elses benefit it was:
Using Jquery .Val() function to set the value instead of the IGEditor setter Option
Wrong way: $("#txtDriverSubCU").val( a )
Correct way: $("#txtDriverSubCU").igNumericEditor("option", "value", a);
The wrong way really causes some very strange behavior.
Thanks much.
Hi,I'm afraid that I have no idea what's going on in your case :( , but I'd like to help you find out and fix it (if possible).However, yours seems to be a rather complex scenario so can you please provide us with a sample where the problem is reproducible so we can investigate it?Thanks in advance!PS: This seems to be an igEditor-centered problem - do you mind opening a new thread about it in the igEditor forums?