Page change shows column that is supposed to be hidden from previous page

Page change shows column that is supposed to be hidden from previous page

wilson2785wilson2785 Posts: 2Questions: 2Answers: 0

Hi,

I have the following code to hide/show columns after clicking on checkboxes with the column name
$("input:checkbox").click(function () {
var column = "table ." + $(this).attr("name");
if ($(column).is(":visible")) {
$(column).hide();
}
else {
$(column).show();
}
});

However, when I click on next page, the column that was hidden in page 1 shows up again in page 2. How do I hide the columns for all the pages?

Answers

  • allanallan Posts: 63,818Questions: 1Answers: 10,517 Site admin

    Thanks for your question - however, per the forum rules can you link to a test case showing the issue please. This will allow the issue to be debugged.

    Information on how to create a test page, if you can't provide a link to your own page can be found here.

    Thanks,
    Allan

This discussion has been closed.