i make a function in jquery it work just when refresh used datatable code example Example: reload ajax datatable $('#example').data.reload();