ColumnControl Clear Search Runs Slow With Many Columns

ColumnControl Clear Search Runs Slow With Many Columns

TerraX3000TerraX3000 Posts: 14Questions: 4Answers: 1

Link to test case: https://live.datatables.net/fowagasa/2
Description of problem:
The clear column control search takes 15-30 seconds to complete for datatables with many columns (>60 columns)

The example linked here https://live.datatables.net/fowagasa/2 takes 15 seconds to clear.

To reproduce, follow these steps.
Filter on a column (i.e., delta_1 on delta_1_test)
Click Clear Search

It takes ~15 seconds to clear

From testing with my table I'm using in production, I can see there are lots of datatable events (search, state, draw, etc) as it appears to work through each column filter.

Is there a way to improve the clear search for datatables with many columns?

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 64,540Questions: 1Answers: 10,668 Site admin
    Answer ✓

    Hi,

    Many thanks for flagging this up. I've committed a fix to address this problem, and it will be in ColumnControl 1.0.4 which I'll release this afternoon.

    Allan

  • TerraX3000TerraX3000 Posts: 14Questions: 4Answers: 1

    Allan - thanks for the quick turn on this issue. Just updated to 1.0.4 and confirmed it's working great. Thank you!

  • allanallan Posts: 64,540Questions: 1Answers: 10,668 Site admin

    Hurrah. Thanks for letting me know.

    Allan

Sign In or Register to comment.