Open Bastilla123 opened 5 months ago
Hello,
i initialize Javascript with:
$(document).ready(function() { AjaxDatatableViewUtils.initialize_table( $('#storage_listview'), "{% url 'storage:Ajax_storage_listview' %}", { // extra_options (example) processing: false, autoWidth: false, full_row_select: true, scrollX: true }, { // extra_data // ... }, ); });
Now i want when another Element with Select Option a Option are changed that this datatable are reload url so table are new initialize. I try it with .destroy() but destroy() want work. Please give me i idea how i can reload new url?
Hello,
i initialize Javascript with:
$(document).ready(function() { AjaxDatatableViewUtils.initialize_table( $('#storage_listview'), "{% url 'storage:Ajax_storage_listview' %}", { // extra_options (example) processing: false, autoWidth: false, full_row_select: true, scrollX: true }, { // extra_data // ... }, ); });
Now i want when another Element with Select Option a Option are changed that this datatable are reload url so table are new initialize. I try it with .destroy() but destroy() want work. Please give me i idea how i can reload new url?