Datatables, server side data & filtering


I have a datatable setup and getting data from a server side PHP script. If I'm only pulling down 15 or so records at a time, then my selectFilters only include the values for whatever is in those 15 records. How can I paginate the data but still be able to selectFilter on any value in the DB?


  • Hello, @dmcconnell68

    By default, options of the filters depend on the loaded data, so they will be re-gathered on any data loading.
    The only solution is to set options separately:

    { id: 'section', width:250, header:[{content:"serverMultiComboFilter", options:optionsArray}]}

    Here's the snippet:

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion