ReferenceError: table-columntoggle is not defined
I like Column Toggle. It works fine with a static table, but when a new row is added programmatically, it doesn't get required classes (ui-table-priority-?, etc.) to function.
Refreshing the table with
$("#myTable").table-columntoggle( "refresh" ); fails with the following error: "
Uncaught ReferenceError: columntoggle is not defined".
As a matter of fact, I get the same error trying to just get some options:
$("#myTable").table-columntoggle("option", "columnBtnText");
I use
jquery.mobile-1.3.0.js and
jquery-1.9.1.js.
What am I doing wrong? Any help is highly appreciated...