set fnSetColumnVis() animation duration like .hide('slow')?

set fnSetColumnVis() animation duration like .hide('slow')?

KimballKimball Posts: 2Questions: 0Answers: 0
edited May 2013 in General
I checked the API doc and I searched for this first, but could not find anything.

My project has some pretty simple tables with show/hide columns, much like this example:
http://www.datatables.net/examples/api/show_hide.html

Since the show/hide is an instant on/off, the user does not follow along with what is happening. They notice the table is less wide, but not sure what's missing.

I think I might get them up to speed quicker is the hide/show was animated, similar to using jQuery .hide('slow')?
Is there a way (or could be) to set the duration on the fnSetColumnVis()?
Perhaps a separate function does this, or one of the plugins?

Thanks for any help.
-Kimball

Replies

  • allanallan Posts: 63,516Questions: 1Answers: 10,472 Site admin
    There is no way to use animation for this, and without setting table-layout:fixed I think it would be exceptionally difficult to do.

    Allan
This discussion has been closed.