-
Notifications
You must be signed in to change notification settings - Fork 754
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clear column container when refreshing #1145
Conversation
Hi When I have Big table to load, I print my table without ligne, i load tablesorter, $.tablesorter.updateCache($(id_div_tableau).get(0).config,function(){},$(''+data+'')); After i refresh all widgets $(id_div_tableau).trigger('refreshWidgets', true); And at this moment I have all elements duplicated. Maybe it’s not the good way ? Roman JOLY |
Ahh, yes... the tbodies parameter in the
I'll fix the wording, but in your case don't include that extra parameter. |
I’m using this method beacause i have a 5000’s lignes table and it’s a « little » long to load before in a navigator and then load the pager. Roman JOLY De : Rob G [mailto:[email protected]] Ahh, yes... the tbodies parameter in the http://mottie.github.io/tablesorter/docs/#updatecache updateCache method is supposed to be a jQuery selector pointing to tbodies. In the docs, you'll see this message: In v2.22.2, a new parameter was added to allow passing a jQuery object containing tbodies (for the tbody sorting widget) I'll fix the wording, but in your case don't include that extra parameter. — |
Ok, if you want to use that parameter, and everything else works for you, then I don't have a problem with this PR 😁 |
clear column container when refreshing
Hmm, whoops, that actually causes an error. |
Ok, that should fix the problem... I saw that error when I used |
when refreshing plugins, i have all columns in double on the columnselector div.