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: 7Questions: 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,618Questions: 1Answers: 10,909 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: 7Questions: 1Answers: 0

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

  • coreyg142coreyg142 Posts: 2Questions: 0Answers: 0

    Has this option been implemented to ColumnControl yet? If not, are there any workarounds to get this behavior now?

  • allanallan Posts: 65,618Questions: 1Answers: 10,909 Site admin

    No - it hasn't yet been implemented yet I'm afraid. It will happen when I'm next working on features for ColumnControl or someone sponsors that specific feature. The only workaround would be to modify the source.

    Allan

Sign In or Register to comment.