Hidden table rows not selectable with jQuery?

Hidden table rows not selectable with jQuery?

bassman02bassman02 Posts: 2Questions: 0Answers: 0
edited July 2011 in DataTables 1.8
Hi all,

I noticed after upgrading dataTables that now columns hidden via the "bVisible" : false mechanism are now completely removed from the html (unless I am misremembering it used to simply be given a "display:none" CSS value). This seems to make it impossible to get the cell information via a generic jQuery selector statement. Instead I guess I'll have to write something a lot less simple and elegant using fnGetData or something. Kind of frustrating.

Is there a reason this change was made? Am I missing a simple way to get the hidden cell, preferably via the id attribute?

Thanks!

Replies

  • bassman02bassman02 Posts: 2Questions: 0Answers: 0
    Update: I found a way around the problem by putting the style="display:none"; directly in the td and th html and making the bVisible true for this column. I'm still kind of curious about this though--seems a bit ugly to solve in either of the two ways I could think of.
This discussion has been closed.