I use the system.dataset.exportExcel quite a lot, and now I’ve upgraded to version 8.0.1, when the save dialog appears there is no pre-populated file name!
I’ve used the exact code that is in the manuals example:
table = event.source.parent.getComponent("Table")
filePath = system.dataset.exportExcel("data.xls", 1, table.data)
if filePath != None:
system.net.openURL("file://"+filePath)
When the dialog appears there is no filename:
I expect it to show “data.xls”.
How do I get the filename to come back?
Thanks.