Using JEditable with formatted column definitions
Using JEditable with formatted column definitions
Is it possible to re-apply the "aoColumnDefs" on a table after it has been edited using JEditable?
For example, a user edits a column that is formatted and displayed as currency (but has a data value of double), and changes the displayed value of $3.18 (with an actual value of 3.18).
There are different options:
User removes the $ symbol : 3.20 -- This is when I would like to re-apply the "aoColumnDefs".
User retains the $ symbol : $3.20 -- In this case, I would probably strip the dollar sign before saving the value to the actual data, then I would want to re-apply the "aoColumnDefs".
Any help would be appreciated, I've looked around on these forums but can't seem to find someone who has had a similar issue.
For example, a user edits a column that is formatted and displayed as currency (but has a data value of double), and changes the displayed value of $3.18 (with an actual value of 3.18).
There are different options:
User removes the $ symbol : 3.20 -- This is when I would like to re-apply the "aoColumnDefs".
User retains the $ symbol : $3.20 -- In this case, I would probably strip the dollar sign before saving the value to the actual data, then I would want to re-apply the "aoColumnDefs".
Any help would be appreciated, I've looked around on these forums but can't seem to find someone who has had a similar issue.
This discussion has been closed.