Export CSV - Option Type X

Enable native CSV export for an authorized Table View result and exclude internal columns.

X enables the native Download CSV action for a Table View. Include it in the owning page's full registration configuration, alongside the other required option letters.

$subsection->setOption([
    'name' => ['en' => 'REPORT', 'es' => 'REPORTE', 'fr' => 'RAPPORT'],
    'type' => 'VNX', 'privilege' => 4
]);
$csvexclude = 'ROW_ID';

ROW_ID is a placeholder for an actual internal query column. csvexclude accepts comma-separated columns to omit. Select the intended export columns explicitly and keep query identifiers page-owned.

Export uses the native report result/query. With pagination, the export can be limited to the current page. Use a bounded complete query when the export must cover a full filtered summary, while retaining pagination for growing record history.

Authorize sensitive reports and their exports on the server. Do not treat an encrypted client query or a hidden button as sufficient permission. Keep numeric accounting values numeric; display signs and two-decimal presentation are not conversions of stored money.