How to export selected rows in a gridField to a xls file and download it within a interface?

I have a requirement where customer can select rows of record and click on "EXPORT TO XLS" button and download the selected records to a xls file. How to achieve that in Appian interface?

 Discussion posts and replies are publicly visible