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)
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!
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'.
Thanks, with this sample and further research I was able to get it to do what I want.
Hello,
I am glad to hear that you were able to achieve what you wanted. Also, please do not hesitate to contact us again, regarding any questions that you have.