Hi,
I have a custom editor for a datatable column (a jqxSlider) and am following the validation code on this page:
Validation example using a slider as in my case
My validation is per the below:
function (cell, value) {if (value > 25 || value < 5) return { message: ‘Number should be in the 5-25 interval’, result: false };return true;}
So this does work (as if I enter a value below 5 or greater than 25, the row stays in edit mode) BUT the custom editor (slider in this case) is ALWAYS present and so the red style to the underlying datatable cell is never visible and the tooltip with the error information is never visible.
What options do I have (destroying the editor isn’t one as I already tried that !).
Thanks for any help 🙂
Steve