Search delay in the ColumnControl extension, utilizing the already available searchDelay option

Search delay in the ColumnControl extension, utilizing the already available searchDelay option

EmberfireEmberfire Posts: 4Questions: 1Answers: 0

Would it be possible to implement a debouncing logic to the ColumnControl's search input fields? Currently, when operating server-side and especially when using ColumnControl's search fields, requests are sent as soon as the user types something. This could potentially introduce slowdowns if the server is slower to execute.

My understanding is DataTables already has a searchDelay option, used for the global search. Could ColumnControl take advantage of that to debounce each input's search?

Replies

  • allanallan Posts: 65,277Questions: 1Answers: 10,821 Site admin

    Good idea! Yes, it should do that. I'll look at adding that as an option for a future release.

    Many thanks,
    Allan

  • EmberfireEmberfire Posts: 4Questions: 1Answers: 0

    Thank you very much, it would indeed be a welcome addition! :)

Sign In or Register to comment.