disable autorefresh on column hide / show

disable autorefresh on column hide / show

imelimel Posts: 2Questions: 0Answers: 0
edited March 2011 in General
Hi, I am using the function fnSetColumnVis() to show or hide columns on my grid.
I use a js function that hides or shows multiple columns at a time, so my function includes the call to fnSetColumnVis() multiple times.

The problem is that the ajax request to reload the data from the server side is fired multiple times, once for each time the fnSetColumnVis() function is called.

Is there a way to get the ajax call to fire only once, or to use fnSetColumnVis() without doing an ajax reload?

Replies

  • imelimel Posts: 2Questions: 0Answers: 0
    I have followed the instructions on this link for a temporary workaround / hack:
    http://datatables.net/forums/comments.php?DiscussionID=2814&page=1#Comment_13359

    Is this option going to be included in the next release?
  • dbuezasdbuezas Posts: 6Questions: 0Answers: 0
    Hi, I'm having the same problem, is there any clean solution for it yet?
    Thanks
This discussion has been closed.