DatatablesBundle icon indicating copy to clipboard operation
DatatablesBundle copied to clipboard

Search_delay not working

Open konradja100 opened this issue 7 years ago • 0 comments

Hi, I have a problem with search_delay option - it works only every second time. First search has default delay (no delay?), and second one has delay from options, and then again default delay etc.

Code generated for searching look like this:

delay

And I have this code in my dt:

$this->options->set([
                'classes' => 'table table-hover',
                'individual_filtering' => true,
                'individual_filtering_position' => 'head',
                'order_cells_top' => true,
                'dom' => '<"row"<"col"f>>t<"row"<"col-auto"l><"col"p>>',
                'search_delay' => 5000
            ]);

Does anyone has similar issue? If second function "$(selector).find.." with no options.searchDelay is overriding first one, why does it work alternately?

konradja100 avatar Jul 18 '18 06:07 konradja100