[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Directly starting Export of FIXGRID to XML, CSV, XLSX...  XML
Forum Index -> Development
Author Message
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5204
Offline

(from mail conversation)

There is the default function FIXGRIDListBinding.onOpenGridExportFunctions(ActionEvent) that you can bind to a button/icon/... and that opens up a dialog to export the grid content into various formats.

You may also bind the individual grid export functions directly into some own processing by using the APIs:

Code:
 FIXGRIDListBinding m_grid = ...;
 
 ...
 ...
 m_grid.getExporter().exportToXMLWholeGrid(false);
 m_grid.getExporter().exportToXLSXWholeGrid(false);
 etc.
 


The parameter false means that all items are exported. When passing "true" then only the currently selected lines are exported.

Kind regards! Björn

Björn Müller, CaptainCasa GmbH
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team