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
75
$.ig.GridExcelExporter.exportGrid to a specific path in Angular2
posted

Hi Team,

I am able to export iggrid to excel in both IE and chrome. But I want a save dialog box so that clients can provide the path to which excel should be downloaded, below is the code that am using

$.ig.GridExcelExporter.exportGrid($(me.gridName),
{
fileName: me.fileName,
worksheetName: me.workSheetName,
gridStyling: "applied",
gridFeatureOptions: { sorting: "applied" }
}

);

  • 7555
    Offline posted

    Hello Rajesh,

    After investigating and doing some research of  GridExcelExporter with a dialog box for specific path, I found that GridExcelExporter is a browser based control. It behave little different with the different browser. 

    If you run the below sample on chrome you will see the downloaded file will save in the download folder but when you run the sample on IE it will give you the option of ‘open’, ‘save’ and ‘save as’ ,and through the save as option you can still save the file to the specific path.

     https://www.igniteui.com/hierarchical-grid/export-hierarchical-grid 

    To have an in-built functionality for dialogbox with GridExcelExporter to give the specific path has been determined to be a product idea. You can suggest new product ideas for future versions by emailing ideas@infragistics.com.

    Submitting your idea will send it directly to our product management team so that it can be imported into our new ideas community once live: http://ideas.infragistics.com.

    Remember when submitting your idea to explain the context in which a feature would be used and why it is needed as well as anything that would prevent you from accomplishing this today. You can even add screenshots to build a stronger case.  You can also link back to this thread for additional details.

    Thank you in advance to submitting your product idea.

  • 7555
    Offline posted

    Hello Rajesh, 

    Thank you for posting in the Infragistics community! I am currently working onto your requirement and will update you with my findings.