When you mark a record to execute the button Run, and you want to navigate between the pages, you lose the marked records and you have to mark again, this is because of security.
This code helps you to maintain the records marked even if you navigate between the pages of your grid app:
Put this code in the event ‘onFooter’:
You must enable the Footer in Layout
?>
<script>
len_check = document.FBtn_Run.elements.length;
for (i = 0; i < len_check; i++)
{
tst_obj = “NM_ck_grid” + “[]”;
if (document.FBtn_Run.elements[ i].name == tst_obj)
{
document.FBtn_Run.elements[ i].checked = true;
}
}
</script>
<?php
Regards.