Hi,
For list view You can use the Excel Exporter module in mendix https://appstore.home.mendix.com/link/app/726/
please refer the following documentation https://docs.mendix.com/howto/integration/using-the-excel-exporter
For Data grid or Template Grid you can use the ‘export to excel button’
Thanks!