Check value with datatable data
Check value with datatable data
in Editor
I have to check the entered data from the editor if this entry already exists in the datatable before it is sent to the server. About presubmit I get the data from the editor, how do I get the data from datatables? I can not use the jquery each() function, because some data in the datatables are rendered. Is there a way to get the raw data of the datatable?
Andreas
This discussion has been closed.
Answers
Hi @Andreas S. ,
You can use
rows().data()for that - scan the returned array inpreSubmitand if it exists, returnfalse,Hope that helps,
Cheers,
Colin