Package com.smartgwt.client.widgets
Class MultiSheetExportSettings
java.lang.Object
com.smartgwt.client.core.JsObject
com.smartgwt.client.core.DataClass
com.smartgwt.client.widgets.MultiSheetExportSettings
- All Implemented Interfaces:
HasHandlers
Per-call configuration for
Canvas.exportDescendantData().- See Also:
-
Field Summary
Fields inherited from class com.smartgwt.client.core.DataClass
factoryCreated, factoryProperties -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionFired once the export request has been submitted.Base name for the downloaded file (the.xlsxextension is appended).By default only visible components are exported — the export captures the view the user is looking at.Per-call overrides for the cover and caption label strings.Maximum rows a client-executed fetch may export.static MultiSheetExportSettingsgetOrCreateRef(JavaScriptObject jsObj) getTitle()Title shown on the workbook's cover sheet.setCallback(String callback) Fired once the export request has been submitted.setExportFilename(String exportFilename) Base name for the downloaded file (the.xlsxextension is appended).setIncludeHidden(Boolean includeHidden) By default only visible components are exported — the export captures the view the user is looking at.Per-call overrides for the cover and caption label strings.setMaxExportRows(Integer maxExportRows) Maximum rows a client-executed fetch may export.Title shown on the workbook's cover sheet.Methods inherited from class com.smartgwt.client.core.DataClass
applyFactoryProperties, doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsElement, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getAttributes, getHandlerCount, isFactoryCreated, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeAsJavaObject, setFactoryCreated
-
Constructor Details
-
MultiSheetExportSettings
public MultiSheetExportSettings() -
MultiSheetExportSettings
-
-
Method Details
-
getOrCreateRef
-
setCallback
Fired once the export request has been submitted. The workbook downloads through the browser's file transport, which reports nothing back to the page, so this callback does not indicate the download has completed — only that it was initiated.- Parameters:
callback- New callback value. Default value is null- Returns:
MultiSheetExportSettingsinstance, for chaining setter calls- See Also:
-
getCallback
Fired once the export request has been submitted. The workbook downloads through the browser's file transport, which reports nothing back to the page, so this callback does not indicate the download has completed — only that it was initiated.- Returns:
- Current callback value. Default value is null
- See Also:
-
setExportFilename
Base name for the downloaded file (the.xlsxextension is appended). When unset, a filesystem-safe name is derived fromtitle.- Parameters:
exportFilename- New exportFilename value. Default value is null- Returns:
MultiSheetExportSettingsinstance, for chaining setter calls- See Also:
-
getExportFilename
Base name for the downloaded file (the.xlsxextension is appended). When unset, a filesystem-safe name is derived fromtitle.- Returns:
- Current exportFilename value. Default value is null
- See Also:
-
setIncludeHidden
By default only visible components are exported — the export captures the view the user is looking at. Set this to export hidden eligible components as well.- Parameters:
includeHidden- New includeHidden value. Default value is null- Returns:
MultiSheetExportSettingsinstance, for chaining setter calls- See Also:
-
getIncludeHidden
By default only visible components are exported — the export captures the view the user is looking at. Set this to export hidden eligible components as well.- Returns:
- Current includeHidden value. Default value is null
- See Also:
-
setLabels
Per-call overrides for the cover and caption label strings. Property names and defaults come from the corresponding canvas attributes —Canvas.filtersAppliedTitle,Canvas.filterConditionTitle,Canvas.filterAppliesToTitle,Canvas.allSheetsMessage,Canvas.noFiltersAppliedMessage,Canvas.asDisplayedMessageandCanvas.asDisplayedPartialMessage; set those attributes instead to change the wording for every export.- Parameters:
labels- New labels value. Default value is null- Returns:
MultiSheetExportSettingsinstance, for chaining setter calls- See Also:
-
getLabels
Per-call overrides for the cover and caption label strings. Property names and defaults come from the corresponding canvas attributes —Canvas.filtersAppliedTitle,Canvas.filterConditionTitle,Canvas.filterAppliesToTitle,Canvas.allSheetsMessage,Canvas.noFiltersAppliedMessage,Canvas.asDisplayedMessageandCanvas.asDisplayedPartialMessage; set those attributes instead to change the wording for every export.- Returns:
- Current labels value. Default value is null
- See Also:
-
setMaxExportRows
Maximum rows a client-executed fetch may export. When a component's fetch would exceed it, the export is refused withCanvas.exportRowLimitMessagebefore any download begins. Fetches executed by the Smart GWT Server are bounded by the server's own configured limit instead.- Parameters:
maxExportRows- New maxExportRows value. Default value is null- Returns:
MultiSheetExportSettingsinstance, for chaining setter calls- See Also:
-
getMaxExportRows
Maximum rows a client-executed fetch may export. When a component's fetch would exceed it, the export is refused withCanvas.exportRowLimitMessagebefore any download begins. Fetches executed by the Smart GWT Server are bounded by the server's own configured limit instead.- Returns:
- Current maxExportRows value. Default value is null
- See Also:
-
setTitle
Title shown on the workbook's cover sheet. When unset, falls back toCanvas.exportDefaultTitle.- Parameters:
title- New title value. Default value is null- Returns:
MultiSheetExportSettingsinstance, for chaining setter calls- See Also:
-
getTitle
Title shown on the workbook's cover sheet. When unset, falls back toCanvas.exportDefaultTitle.- Returns:
- Current title value. Default value is null
- See Also:
-