dundas.controls.DataPreview Class

 

Inheritance Hierarchy

 
Class
   dundas.controls.DataPreview
 

Constructors

 
  Name Description
init Initializes the control. Called during construction.
 
 

Properties

 
  Name Description
dataGrid Gets or sets a value that holds a reference to the data preview data grid adapter.
isHideToolbar Gets or sets if the toolbar is hidden.
isNotStandardToolbar Gets or sets if the standard toolbar buttons (Data, Performance, Warnings) should be shown.
isShowingDataStorageColumn Gets a value indicating whether the data storage column screen was / is being shown.
isShowingModifyData Gets a value indicating whether the modify data screen for a transform preview is being shown.
 
 

Methods

 
  Name Description
dispose Disposes the component.
fromJObject Applies the property values from a plain object created from JSON to the properties of this instance. Inherited from Class.
generateDataInputMetricSet Creates a new data input metric set, and then shows the user the data storage column screen so that the user can add at least 1 column to begin with a data input metric set.
getContainer Gets the HTML container for this data preview.
modifyData Enters the modify data state for the first item in the transform infos given. If the data input privilege is not on the current session, nothing is done.
onDataPreviewCollapsed Called when the data preview is collapsed.
onDataPreviewResize Resize the data preview elements.
onPageChange Sets the onPageChange for when the data grid pages. There can only be 1 listener.
previewTransform Refreshes the data in the data grid with data for the given transform with optional startIndex and pageSize given.
refreshDataGrid Refreshes the data in the data grid with data from the given metric set ID.
setManualWarnings Sets the manual warnings for this data preview.
showDataGrid Shows the data grid with the data preview.
showManualWarnings Shows any manual warnings.
showNoDataIndicator Shows a no data indicator on top of the data grid. This should be used if something is selected, but it can't try to show the data for it.
showNoSelectionIndicator Shows a no data indicator on top of the data grid, or if this data preview is displayed on a View, this will show the 'overview' statistics (for the first load).
showStatistics Shows any statistics from data retrieval.
showWarnings Shows any warnings from data retrieval.
toJSON Implementation for toJSON to return an object that will include this class's prototype property values when stringified. Inherited from Class.