Hiding Column and Filtering Column with Select Examples Not Working Together

Hiding Column and Filtering Column with Select Examples Not Working Together

cammilcammil Posts: 2Questions: 0Answers: 0
edited June 2011 in Bug reports

Hi All,

It appears that using the code for adding select inputs for filtering columns does not work if some columns have already been dynamically hidden. I essentially copy and pasted both examples.

However, if you add the select inputs and then hide columns, it works fine.

Also, I'd just like to say, this is a fantastic plug-in!

Cammil

Replies

  • allanallan Posts: 63,691Questions: 1Answers: 10,500 Site admin
    This would be because the event handlers aren't being added to the hidden columns, since they aren't in the DOM. You can see this with Visual Event: http://sprymedia.co.uk/article/Visual+Event . So either add the event handlers when the columns are made visible, or better yet use $().live for your events.

    Allan
This discussion has been closed.