Access to the selected rows in page list

Hi,
i’d like to export the Page list’s total records using my custom php code building my own excel spreadsheet.
To do this i added an item in Page List Page_Load() event doing:

    $item = &$this->ExportOptions->add("Estrai");
    $item->Body = "<a href='MyURL'>Genera</a>";

what i need is how to refers to all single rows in MyURL php file

Thanks for your suggestions

The ExportOptions are, as the name suggests, options for exporting, such as “word”, “excel”, etc. It is not export data. You should use export events, see Page_Exporting and Row_Export. You may even customize the export class.