New data for DataTable
New data for DataTable

Hello, I have a screen where I have a search button that refresh the page and a switch on/off that activates an autoload of my DataTable, what I want is that when this autoload is on and the user receives a new data in the table that he calls a function that makes a sound effect, I already have everything except the DataTable part, I would like to know if there is anything that fits me in this situation of receiving new data
This discussion has been closed.
Replies
Depends on the behavior your want. You can use
ajax.reload()
, assuming you are using theajax
option, to reload the whole table. Or you can userow.add()
orrows.add()
to add one or more rows to the table.Kevin