Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Destroy #128

Open
Bastilla123 opened this issue Jun 5, 2024 · 0 comments
Open

Destroy #128

Bastilla123 opened this issue Jun 5, 2024 · 0 comments

Comments

@Bastilla123
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant