[jQuery] Re: Tablesorter 2.0.3 - Sorting af column of checkboxes (resorting)

2009-05-13 Thread hammerskov
sunfire wrote: > > I have tried this and it does not work for me, where are you calling > $("#myTable").trigger("update"); ? > I bind a click eventhandler to every checkbox and trigger the update every time the user clicks a checkbox. This is not a solution I would recommend, since it causes

[jQuery] Re: Tablesorter 2.0.3 - Sorting af column of checkboxes (resorting)

2008-09-07 Thread hammerskov
Thank you both for taking the time to guide me in the right direction. I have solved the problem, and you do need to create a new parser. The reason it seemed to work when the page is loaded is because the textual representation of a checked and un-checked checkbox is different. However, the pa

[jQuery] Re: Tablesorter 2.0.3 - Sorting af column of checkboxes (resorting)

2008-09-05 Thread hammerskov
MorningZ wrote: > > > ah well, i tried... good luck with this > > Thank you very much for trying. Gues i'll be using a bit more time on this than I first anticipated :-) -- View this message in context: http://www.nabble.com/Tablesorter-2.0.3---Sorting-af-column-of-checkboxes-%28res

[jQuery] Re: Tablesorter 2.0.3 - Sorting af column of checkboxes (resorting)

2008-09-05 Thread hammerskov
MorningZ wrote: > > look into the code of the tablesorter.js code, it's storing the values/ > text of the 's value right there in the client on the wiring up of > the plugin, and it doesn't handle changing of the values/text > > you'll have to come up with some other solution, or dig real deep

[jQuery] Re: Tablesorter 2.0.3 - Sorting af column of checkboxes (resorting)

2008-09-04 Thread hammerskov
Text Checkboxes A B C D So when you hit sort on the checkbox column the first time, row B and D goes to the top. Now try to remove the check from row D and instead check row C. When you try to sort the column again row C a

[jQuery] Tablesorter 2.0.3 - Sorting af column of checkboxes (resorting)

2008-09-04 Thread hammerskov
I have been using this excellent plugin for a few days, but now I have hit a problem which I can't seem to solve. I have a table where a couple of columns are checkboxes. The initial sorting on the columns works correct, but when I un-check some of them and try to sort again i looks like it is