uncheck a checkbox on another page of the table

uncheck a checkbox on another page of the table

dlbarrondlbarron Posts: 23Questions: 1Answers: 0
edited January 2013 in General
My multi-page table has checkboxes in the first column, clicking (checking) the checkbox causes other things to happen, including un-checking the preciously checked checkbox. This is working fine as long as both checkboxes are on the same page. If I (for example) check a box on page one, then go to page two and check a box all of the other things that are supposed to happen do happen, but the checkbox on page one is not unchecked. As I said, as long as I am on the same page it is working the way it's supposed to.

Here is what I'm using to uncheck:
$('#cb'+previousrow).attr("checked",false);

Is there a way to affect the checkbox on another page? I've tried various forms of fnUpdate but that apparently does not work with a checkbox.

Thanks

Replies

  • dlbarrondlbarron Posts: 23Questions: 1Answers: 0
    Any thoughts on my question? I have continue to try different things without success.
  • dlbarrondlbarron Posts: 23Questions: 1Answers: 0
    I'm making a little progress on this, although it's led to another problem that I need help with. The only way I've found to clear a checkbox on the page that is not showing is to pull the data for that row out (using fnGetData()), then delete the row (fnDeleteRow()), then recreate the row with a new (unchecked) checkbox.

    the problem now is that when I insert the row again the table jumps to the first page and I need it not to do that.

    Is there a way to find out what page is currently being displayed and then jump back to that page after the row is added?

    Thanks
This discussion has been closed.