Call the exportToWord client-side methods to export the data from the Grid to MS Word files.
arguments:
* fileName - the name of the file (without extension) where the data will be exported * keepFormatting - if set to true some of the properties of the columns will also be exported (Width, Align, HeaderAling, Wrap) * usePaging - export all the records or just the current page * addTimeStamp - append a timestamp to the name of the file (for generating unique file names) * Office2007 - if set to true, the exported files will be compatible with MS Office 2007 * useHiddenColumns - if set to true, the invisible columns will be exported too * columnsForExport - a string containing the columns that will be exported
JavaScript
grid1.exportToWord("OboutGrid", true, false, true, false, true, "ShipName,ShipCity,ShipCountry");
|
No responses found. Be the first to respond and make money from revenue sharing program.
|