Monday, May 4, 2020
Datatable column dropdown
Individual column searching (select inputs)
This example is almost identical to text based individual column example and provides the same functionality, but in this case usingselect
input controls.https://datatables.net/examples/api/multi_filter_select.html
how to make selected column only
initComplete: function ()
{
// Initialize dropdown filter in second column
this.api().columns([1]).every(function ()
{
// ... skipped ...
});
// Initialize text filter in first, third and fourth column
this.api().columns([0, 2, 3]).every(function ()
{
// ... skipped ...
});
}
https://stackoverflow.com/questions/41901232/datatables-individual-column-searching
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment