Filtering performed both in search and draw
See original GitHub issueHi!
I’ve being profiling search functionality and it came in view that when doing dt.column(0).search(...).draw()
DT runs filtering twice. First time when search
is called, then second time with draw
. That looks a bit weird. I might not understand if there is any underlying reasons that covers, but it looks like a bug. From my understanding, search
to be actually output to UI need to be finished with draw
call, thus I have question is there a need to perform actual search twice? In case I chain up multiple search
calls and finish that with draw
call, then I’ll get multiple passes. Searches are not identical, however. The difference is in 3rd parameter (iForce
) passed into _fnFilterComplete
.
Is this real issue? Am I missing something?
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Filtering charts in Excel | Microsoft 365 Blog
Here are 4 methods for filtering your chart so you don't have to edit ... To do this, select both columns C and...
Read more >Video: Sort, filter, summarize, and calculate your PivotTable data
Training: You can analyze PivotTable data in many ways, including sorting to quickly see trends. We'll also look at how to filter, summarize...
Read more >search() - DataTables
The global search is performed across all searchable columns (see ... As DataTables provides on-the-fly filtering with immediate feedback to the user, ...
Read more >Working with Google Data Studio Filter: A Detailed Guide
Filtering is used to do two things. You can see what you want (what matches the conditions you have entered). You can avoid...
Read more >Filtering Responses - Qualtrics
Finished: The status of the respondent's survey (true = completed, ... Qtip: If you are looking for an embedded data field, you can...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Its 4 years and counting and no reply. Has this issue been resolved?
I can’t be sure where the problem actually is, but there is where I would start: https://github.com/DataTables/DataTablesSrc/blob/941a2f037381bcd19e64f08c1bb766fc20497373/js/core/core.draw.js#L461 .