my leaky implementation

my leaky implementation

wlkwlk Posts: 3Questions: 0Answers: 0
edited October 2012 in General
This appears to me to leak: http://live.datatables.net/ucimen/2

This one is probably more accurate for my purposes, but he same idea: http://live.datatables.net/upokor/3

Stuck using IE.

Not sure this is the best way to handle this, but here is a frequent situation for me: I have 5 columns, column 1 will be used for some computation/combination of later column data, and those later 'source' columns I would want hidden. The way I'm managing this now, it leaks. Is there a different pattern I should use (this is going to kill me to re-write all this), or is this a bug, or do you have any other recommendations?

Thanks,
Aaron

Replies

  • wlkwlk Posts: 3Questions: 0Answers: 0
    And, as a side note, it seems to be the hiding (bVisible: false) which is closely linked. If you display those currently hidden columns, the leak goes away. - Aaron
  • wlkwlk Posts: 3Questions: 0Answers: 0
    I'm using sIEve to identify the leak. Thanks.
  • allanallan Posts: 63,534Questions: 1Answers: 10,475 Site admin
    I'm not quite sure I understand how that is leaking. The hidden columns are removed from the table, but you can re-add them later using fnSetColumnVis - so that's not a leak, unless the reference were to remain after you delete the table, which you aren't, and I'm fairly sure they don't.

    Allan
This discussion has been closed.