Fixed Header integrating with column filter

Fixed Header integrating with column filter

sawanruparelsawanruparel Posts: 1Questions: 0Answers: 0
edited August 2011 in General
When I integrate the fixed header with column filter, the column filter doesnot work correctly. I have integrated column filter in the header.

Is anyone else facing similar issue?

Including the complete code so you can try to replicate the issue --

https://gist.github.com/1149833

Could not paste the code here as its too long .. includes the html file.

Replies

  • marshmellow1328marshmellow1328 Posts: 1Questions: 0Answers: 0
    I ran into this same issue today. Unfortunately, I have not figured out a solution.
  • allanallan Posts: 63,529Questions: 1Answers: 10,473 Site admin
    I believe the issue is due to how the code you have there is figuring out which column the index should be applied to - specifically this part: $("thead input").index(this) . It would be interesting to echo out that value when fnFilter is applied in your code, as I think it will be off a bit. Basically the filtering calling code needs to take into account the fact that a column has been hidden (which is how FixedColumns work).

    Allan
This discussion has been closed.