Home Reference Source
public class | source

ExtendedExportController

Extends:

TypedObjectExportController → ExtendedExportController

The nested grid does not show an export options window. We directly run the export based on the data that is currently being displayed in the grid.

Static Method Summary

Static Public Methods
public static

instance(): *

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

For HTML/DOC export, we specify this so that the nested export does not look jagged

Method Summary

Public Methods
public

Run the actual export.

public
public

The current export options

public

getGrid(): IExtendedDataGrid

The current grid being exported

public

runExport(iCollectionView: *, allOrSelectedPages: *)

public

runNestedExport(iCollectionView: *, level: *)

public

setExportLevel(level: *)

public

writeRecord(obj: *, level: *): String

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.

From class ExportController
public static

instance(): *

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

Static Public Methods

public static instance(): * source

Override:

ExportController#instance

Return:

*

Public Constructors

public constructor() source

Override:

ExportController#constructor

Public Members

public DEFAULT_TABLE_WIDTH: number source

For HTML/DOC export, we specify this so that the nested export does not look jagged

Public Methods

public doExport() source

Run the actual export.

Override:

ExportController#doExport

public getClassNames(): Array source

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

Override:

ExportController#getClassNames

Return:

Array

public getExportOptions(): ExportOptions source

The current export options

Return:

ExportOptions

public getGrid(): IExtendedDataGrid source

The current grid being exported

Return:

IExtendedDataGrid

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

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

Override:

ExportController#runExport

Params:

NameTypeAttributeDescription
iCollectionView *
  • optional
allOrSelectedPages *
  • optional

public runNestedExport(iCollectionView: *, level: *) source

Params:

NameTypeAttributeDescription
iCollectionView *
level *

public setExportLevel(level: *) source

Params:

NameTypeAttributeDescription
level *

public writeRecord(obj: *, level: *): String source

Params:

NameTypeAttributeDescription
obj *
level *

Return:

String