Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
15
when selected check boxes rows should export to excel only those selected
posted

I'm using IGX-GRID that has check boxes and want click export to excel want to show on excel only the selected ones.

Any help implementing this feature will be appreciate it.

Parents
  • 1080
    Offline posted

    Hello Ameur,

    Thank you for posting in our community.

    You can achieve the required by getting the selected rows using selectedRows method of the igxGrid and then passing the data to the IgxExcelExporterService's exportData method:

    public exportButtonHandler() {   
        this.excelExportService.exportData(this.grid.selectedRows(), new IgxExcelExporterOptions("ExportFileFromGrid"));
     }


    I have created sample for your reference.

Reply Children
No Data