How to Change parameter used in datatables ajax url.Action on Ajax.reload
By FoxLearn 2/16/2024 9:14:37 AM 66
This post shows you How to Change parameter used in datatables ajax url.Action on Ajax.reload.
You need to get url request get data.
var url = "Product/GetProductByCategoryId?categoryId=" + $('#ddlCategory option:selected').val();
Next, reload the table by call your jquery datatables.net
$('#table').DataTable().ajax.url(url).load();
- How to fix 'Requested unknown parameter '6' for row 0, column 6'
- How to Add new row to datatable using jquery datatable
- How to add class to tr using jQuery datatable
- Ho to add class to column dynamically using jQuery datatable
- How to hide “Showing 1 of N Entries” with jQuery datatables
- How to remove no data available in table from datatable in jQuery
- How to Rename “show XX entries” dropdown in DataTables
- How to fix Buttons not showing with jQuery datatable bootstrap
Categories
Popular Posts
Visual Studio: Auto increment version
04/01/2024
What is ARM architecture?
04/01/2024