DataPanel.getDataViewState

Syntax

getDataViewState();

Description

The getDataViewState method returns an object that contains values defined by controls in the Convert Data group of the Data tab.

Example

Executing the example requires that the HTML page contains the EaxPropertyBar component named eaxPropBar (see Example of EaxPropertyBar and EaxGrid Components Collocation). Then we get an object of the DataPanel class, show corresponding tab, expand this tab and output arrays of values determined by controls on this tab:

var dataPanel = eaxPropBar.getDataPanel(); // Get Data tab
dataPanel.show(); // Show the tab
dataPanel.expand(True); // Expand the tab
// Get an array of values for the Convert Data section
console.log(dataPanel.getDataViewState());
// Get an array of values for the Filter By Table Values section
console.log(dataPanel.getFilterState());
// Get an array of values for the section Aggregate Data In Fixed Dimensions
console.log(dataPanel.getPivotState());
// Get an array of values for the section Show As Ranks
console.log(dataPanel.getRankState());
// Get an array of values for the sections Filter By Table Values 
//and Agrregate Data in Fixed dimensions"
console.log(dataPanel.getState());

After executing the example the systems outputs arrays of values determined by controls on the Data tab.

See also:

DataPanel