Export to Excel only for selected Rows.

With ADF we have a export functionality with the af:exportCollectionActionListener component.

This component have a property exportedRows, where we can indicate the rows to include in a export. Allowable values are ‘all’ (the default) and ‘selected’.

<af:exportCollectionActionListener type=”excelHTML” exportedId=”resId1″ exportedRows=”selected” />

this is good option for tables with multiple selection:

Anuncios