Ok, maybe I'm missing it, but how do you export the contents of a wwDBGrid to a file? I see how to setup the filename and format, just not a function to actually do the export!
Take a look at the export demo as part of the main demo. It has the code to do this.
Ok, I found the member function as part of ExportOptions, but I still don't see where it is documented.
Its under the methods of ExportOptions in the help file.
procedure Save; virtual;
This method will save the contents of the grid to a file or the clipboard based on the property settings below. Call this method when you wish to allow your endusers to export data from the TwwDBGrid
Ok, thanks for that. Still it seems strange to look for the method to export the grid in a object of the grid instead of the grid itself. Guess it had to go somewhere.
Delphi is object-based so exporting is through the export object.