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
615
Export Selected Rows to Excel
posted

I'm maintaining some previously written code and have this to work with inside my Export Sub:

 

Dim exporter As New Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter

exporter.Export(grid, filename)

 

Naturally, this is exporting the entire grid to the file instead of just the selected rows.  I found some examples from this forum on how to add a certain handler (RowsExporting?), but when I add the handler Sub it doesn't seem to be called when the exporter.Export() is called.  Am I missing a step somewhere?  Thanks for any help you can provide!

Parents
  • 71886
    Verified Answer
    Offline posted

    Hello kylemilner,

    I prepared a sample for you and attached it to this post. You could review it and if it is not enough for you, please attach a sample of your own for me and I will be glad to take a look at it. You could do this by clicking on the 'Options' tab above and attach your file through 'Add/Update'.

    Please feel free to let me know if I misunderstood you or if you have any other questions.

    ExportSelectedRowsToXLS.zip
Reply Children