fnRowSelected / fnRowDeselected broken

fnRowSelected / fnRowDeselected broken

grutzgrutz Posts: 6Questions: 1Answers: 0
edited March 2012 in TableTools
I upgraded to DT 1.9.0 and TT 2.0.2 recently and found that fnRowSelected and fnRowDeselected are not triggering correctly. When a row is first selected fnRowDeselected is called. If selected again fnRowSelected is called. Select a third time and fnRowSelected is called, never fnRowDeselected.

The oTableTools init code is:

[code]
"oTableTools": {
"sRowSelect": "multi",
"sSelectedClass": "row_selected",
"fnRowSelected": function ( node ) {
jQuery(node).find("input[type=checkbox]").attr("checked", true);
},
"fnRowDeselected": function ( node ) {
jQuery(node).find("input[type=checkbox]").attr("checked", false);
}
}
[/code]

This worked in prior versions of DT and TT.

Replies

  • grutzgrutz Posts: 6Questions: 1Answers: 0
    Nevermind, I apparently had some library code that didn't get updated properly. A vanilla test showed this as working properly.
This discussion has been closed.