Comments (3)
Hi, I've been trying to solve the bug you issued, but I've not been able to reproduce it.
Please, could you try some of the tips below and, if the bug continues, you can send me screenshots or a small video and I'll research the bug more deeply:
- Delete
bin
andobj
cache folders - Clear NuGet cache
- Clean and Rebuild the project several times
- Try different build setups (IIS Express or custom)
- Update your NuGet Packages using this command
Update-Package -reinstall
- Enable NuGet package restore
from jquery-datatable-server-side-net-core.
Hi @DavidSuescunPelegay ,
I'm trying to do a multi column filter
but it doesn't really perform the search. I just refreshes the table.
I've thought of capturing the column search value at the API endpoint but I don't even know where to find it.
Find my implementation below:
` $('#example').DataTable({
columnDefs: [{
"targets": -1,
"data": null,
"defaultContent": "",
"dom": 'lifrtip'
}],
columns: [
{ 'data': 'InstitutionType' },
{ 'data': 'InstitutionName' },
{ 'data': 'FileRefNo' },
{ 'data': 'OtherInstFileRefNo' },
{ 'data': 'FileTitle' },
{ 'data': 'FileDescription' },
{ 'data': 'EnteredBy' },
{ 'data': 'EnteredDate' },
{ 'data': 'AuthorizedOfficer' },
],
"processing": true,
"serverSide": true,
'responsive': true,
'destroy': true,
"ajax": {
"url": "../api/rfiapi/LoadRFIs",
"type": "POST",
contentType: "application/json",
dataType: "json",
data: function (d) {
return JSON.stringify(d);
}
},
initComplete: function () {
var api = this.api();
// Apply the search
api.columns().every(function () {
var that = this;
$('input', this.footer()).on('keyup change', function () {
if (that.search() !== this.value) {
that.search(this.value).draw();
}
});
});
}
});
// Setup - add a text input to each footer cell
$('#example tfoot th').each(function () {
var title = $(this).text();
$(this).html('<input type="text" placeholder="Search ' + title + '" />');
}); `
from jquery-datatable-server-side-net-core.
Hi @ssahmadtijani I'll review your issue and push a new release if necessary.
from jquery-datatable-server-side-net-core.
Related Issues (11)
- No data HOT 2
- A thanks from young developer HOT 1
- The ajax is not working with pagination
- Show "All" entries throw ajax error. HOT 2
- Add PDF and Word output
- Your getting the full recordset every time? HOT 3
- How to add custom column defination jquery-datatables tag binding? HOT 3
- Null reference in LoadTable method HOT 5
- Export All Rows Is Not Working HOT 1
- DtParameters dtParameters error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jquery-datatable-server-side-net-core.