import ExportController from 'flexicious-react-datagrid/js/flexgrid/export/ExportController.js'ExportController
Extends:
Direct Subclass:
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 |
doExport() 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 |
getClassNames(): string[] |
|
| public |
onCancelExport(event: *) handles onCancelExport event |
|
| public |
onExportOptionsCancel(event: *) handles onExportOptionsCancel event. |
|
| public |
onExportOptionsClose(event: *) handles onExportOptionsClose event. |
|
| public |
onPrintRequestDataRecieved(event: *) 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 |
implementsOrExtends(name: *): Boolean Returns true if the class name to check is in the list of class names defined for this class. |
|
Static Public Methods
Public Constructors
Public Methods
public doexport(grid: *, exportOptions: *): * source
Exports the grid on basis of the provided Export options
Params:
| Name | Type | Attribute | Description |
| grid | * | The IExtendedDataGrid to export |
|
| exportOptions | * | The Export Options (See com.flexicious.export.ExportOptions) |
Return:
| * |
public exportWithOptions(grid: *, exportOptions: *) source
Exports the grid on basis of the provided Export options
Params:
| Name | Type | Attribute | Description |
| grid | * | The IExtendedDataGrid to export |
|
| exportOptions | * | The Export Options (See com.flexicious.export.ExportOptions) |
public getClassNames(): string[] source
Returns a list of strings that represent the object hierarchy for this object.
Override:
TypedObject#getClassNamespublic onCancelExport(event: *) source
handles onCancelExport event
Params:
| Name | Type | Attribute | Description |
| event | * |
public onExportOptionsCancel(event: *) source
handles onExportOptionsCancel event.
Params:
| Name | Type | Attribute | Description |
| event | * |
public onExportOptionsClose(event: *) source
handles onExportOptionsClose event.
Params:
| Name | Type | Attribute | Description |
| event | * |
public onPrintRequestDataRecieved(event: *) source
handles onPrintRequestDataRecieved
Params:
| Name | Type | Attribute | Description |
| event | * |
public runExport(iCollectionView: *, allOrSelectedPages: *) source
Just build up the doc header, body, footer and ask server to buffer it back
Params:
| Name | Type | Attribute | Description |
| iCollectionView | * | ||
| allOrSelectedPages | * |