ComponentOne VSFlexGrid 8.0
Saving Grids

The SaveGrid method allows you to save a grid to a disk file. The SaveGrid method is very fast and flexible. It has arguments that allow you to save the whole grid, only the data, or only the formatting. If you save the whole grid, you can restore it later and it will look exactly as it did when you saved it. Save only the data to get a more compact file. Or save only the formatting to get a template that you can load into other grids without affecting their data.

You may also save grids into comma or tab-delimited text files, which allows you to load them into other applications such as Microsoft Excel or Access. For added flexibility, you can use the ClipSeparators property to select arbitrary delimiters, such as pipes or semi-colons. Saving in text mode saves only the grid data.

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback