How can i simply refresh a table using JavaScript ?
Thanks
Assuming you are using ajax you can use the ajax.reload() API. If your data source is different then please post your Datatables init code and describe how you initially populate the table.
ajax
ajax.reload()
Kevin
I'm using Microsoft power apps portal and i build my table up using HTML that is populated by looping through a FetchXML Query result set. e.g
for items in result set <td>
G
Try using destroy() before fetching and repopulating the HTML table. Once the reloaded table is built then reinitialize your Datatable.
destroy()
It looks like you're new here. If you want to get involved, click one of these buttons!
Answers
Assuming you are using
ajax
you can use theajax.reload()
API. If your data source is different then please post your Datatables init code and describe how you initially populate the table.Kevin
I'm using Microsoft power apps portal and i build my table up using HTML that is populated by looping through a FetchXML Query result set. e.g
for items in result set
<td>
G
Try using
destroy()
before fetching and repopulating the HTML table. Once the reloaded table is built then reinitialize your Datatable.Kevin