KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

Multiple filtering on data grid column headers #655

Open iRiyada opened this topic on on Feb 7, 2019 - 1 comments

iRiyada commented on Feb 7, 2019

Is there any way to do filtering on column headers using select2 in data tables. something like this

KoolReport commented on Feb 7, 2019

It is not possible now. But it could be something like this example. Basically you will need to use the "onReady" event:

DataTables::create(array(
    "onReady"=>"function(){
        ...
    }"
))

This onReady happens after the DataTables is created at client-side, and you will run javascript inside the onReady function to create inputs and trigger search on typing.

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
None yet

None