Home Reference Source
public class | source

ExportController

Extends:

TypedObject → ExportController

Direct Subclass:

ExtendedExportController

Main class responsible for exporting data.

Static Method Summary

Static Public Methods
public static

instance(): *

Constructor Summary

Public Constructor
public

Method Summary

Public Methods
public

handles dispatchDataRequest event.

public

handles doExport.

public

doexport(grid: *, exportOptions: *): *

Exports the grid on basis of the provided Export options

public

exportWithOptions(grid: *, exportOptions: *)

Exports the grid on basis of the provided Export options

public
public

onCancelExport(event: *)

handles onCancelExport event

public

handles onExportOptionsCancel event.

public

handles onExportOptionsClose event.

public

handles onPrintRequestDataRecieved

public

runExport(iCollectionView: *, allOrSelectedPages: *)

Just build up the doc header, body, footer and ask server to buffer it back

Inherited Summary

From class TypedObject
public

typeCache: {}

public
public

Returns a list of strings that represent the object hierarchy for this object.

public

Returns true if the class name to check is in the list of class names defined for this class.

Static Public Methods

public static instance(): * source

Return:

*

Public Constructors

public constructor() source

Override:

TypedObject#constructor

Public Methods

public dispatchDataRequest() source

handles dispatchDataRequest event.

public doExport() source

handles doExport.

public doexport(grid: *, exportOptions: *): * source

Exports the grid on basis of the provided Export options

Params:

NameTypeAttributeDescription
grid *

The IExtendedDataGrid to export

exportOptions *

The Export Options (See com.flexicious.export.ExportOptions)

Return:

*

See:

public exportWithOptions(grid: *, exportOptions: *) source

Exports the grid on basis of the provided Export options

Params:

NameTypeAttributeDescription
grid *

The IExtendedDataGrid to export

exportOptions *

The Export Options (See com.flexicious.export.ExportOptions)

See:

public getClassNames(): string[] source

Returns a list of strings that represent the object hierarchy for this object.

Override:

TypedObject#getClassNames

Return:

string[]

public onCancelExport(event: *) source

handles onCancelExport event

Params:

NameTypeAttributeDescription
event *

public onExportOptionsCancel(event: *) source

handles onExportOptionsCancel event.

Params:

NameTypeAttributeDescription
event *

public onExportOptionsClose(event: *) source

handles onExportOptionsClose event.

Params:

NameTypeAttributeDescription
event *

public onPrintRequestDataRecieved(event: *) source

handles onPrintRequestDataRecieved

Params:

NameTypeAttributeDescription
event *

public runExport(iCollectionView: *, allOrSelectedPages: *) source

Just build up the doc header, body, footer and ask server to buffer it back

Params:

NameTypeAttributeDescription
iCollectionView *
allOrSelectedPages *