DatasetObject

DatasetObject describes the dataset that will be used in the component.

Properties

Property/TypeDescription
idStringoptional The identifier of the dataset. If not specified, the id is autogenerated.
dataSourceDataSourceObjectoptional Contains connection parameters for your data source.

Example

const dataSource = {
  // Data source configuration
};

const dataset = {
  id: "dataset-0",
  dataSource: dataSource
};

const state = {
  id: "state-0",
  dataset: dataset
};

const flexmonster = fm3.Controls.Flexmonster("#pivot-container", {
  state: state
});