how i can add new row to datatable if not exists ?
how i can add new row to datatable if not exists ?
uno22
Posts: 2Questions: 0Answers: 0
hello everybody,
I need help, how i can add new row in datatables if this row not exists ?
This discussion has been closed.
Replies
You'd use
rows().data()
or similar to check if the row exists, and if it doesn't add it usingrow.add()
.Allan
Thanks a lot for the quick answer !
but i don't know what to do. does not work.
Please link to the page showing what you have so far. Without being able to see anything I have no idea why what you have tried doesn't work.
If you'd like me to build an example, priority support is available.
Allan