Page 1 of 1

Multi-Edit, setRecordsPerPage

Posted: Sun Sep 15, 2024 4:37 pm
by totza2010

when i use this code in list page. then use Multi-Edit not work, in Multi-Edit page not show table data show only header.

// Page Load event
function Page_Load()
{
    $this->setRecordsPerPage(-1);
}

But i use $this->setRecordsPerPage(20); or default Multi-Edit work.


Re: Multi-Edit, setRecordsPerPage

Posted: Sun Sep 15, 2024 9:10 pm
by arbei

You need to check the page action first, e.g. you may check $this->isShow() (i.e. not $this->isMultiEdit() nor other actions).