Column Control and fixed Header bug?

Column Control and fixed Header bug?

KaoticKasKaoticKas Posts: 3Questions: 0Answers: 0

https://live.datatables.net/besoqowu/1/edit?html,js,output

No error messages:

Hi! Loving datatables and the new ColumnControl extension! Whilst working on a table in a ASP.Net solution, I have however ran into a bit of an issue between ColumnControl and Fixed header that is present within the JS Bin, when filtering on the FreeForm Search on columns , those being on Position, Whenever it filters and changes size, it loses focus on the input boxes , is this intended or is there anyway to go around that? Thank you in advance!

Replies

  • allanallan Posts: 65,339Questions: 1Answers: 10,838 Site admin

    No, that isn't intended. I'll look into it, but I suspect that might be quite difficult to fix due to the redraw of the table when live filtering.

    Thanks for letting me know about that.

    Allan

  • KaoticKasKaoticKas Posts: 3Questions: 0Answers: 0
    edited November 10

    No problem! Happy to help, I was thinking of bypassing it with the searchDelay option to but remember scrawling through the forum to see if anyone else had this issue and popping across someone else wanting to that option on the columns but remembering a reply that currently there is no implementation of that in ColumnControl but might be coming in the future, so for now I'm trying to see if it be worth trying to rig a delay in

  • allanallan Posts: 65,339Questions: 1Answers: 10,838 Site admin

    This would probably where to do it if you wanted to get it in. Use DataTable.util.debounce().

    Allan

  • KaoticKasKaoticKas Posts: 3Questions: 0Answers: 0

    Thanks Allan much appreciate the pointer! will look into it with what you suggested :)

    Kacper

Sign In or Register to comment.