Search section of JQuery Datatable shows on all pages in Blazor Server App.
Ronald Rex
1,666
Reputation points
The problem I'm facing is when I change page from page with JQuery Datatable to another page, I still have the search bar at top and pagination bar at bottom from the Datatable on the newly displayed Page. When I refresh page it goes away. Do I need some Javascript function to dispose of DataTable in the DOM? Where do you put javascript code in a Blazor Server App? Thanks !!!!