How to filter multiple columns and ajax data ?

How to filter multiple columns and ajax data ?

SalinesSalines Posts: 6Questions: 2Answers: 0

Hi people,
I need advice and guidance,
datatable load data via Ajax, and display only a few columns.

Now I need to put ten input fields that will filter columns, including hidden ones. When a user typing in a field eg company, I need to restore the data from the server, specifically for that column.

thank you

Answers

  • daniel_rdaniel_r Posts: 460Questions: 4Answers: 67

    you might wanna check out my yadcf plugin for datatables, for filtering hidden columns you could place the filters outside using the filter_container_id property, find more details and usage example on the showcase http://yadcf-showcase.appspot.com/

  • SalinesSalines Posts: 6Questions: 2Answers: 0

    I will now try your plugin, Thanks

  • SalinesSalines Posts: 6Questions: 2Answers: 0

    Hi Daniel,

    Is it possible to use your plugin filter fields outside the table?
    I need ten filter fields, but the table only contains four columns.

  • daniel_rdaniel_r Posts: 460Questions: 4Answers: 67

    yes, use the filter_container_id property , see usage in the showacse http://yadcf-showcase.appspot.com/DOM_source.html (Dates column) , read docs in the js file and inspect showcase pages

This discussion has been closed.