DatasetObject
DatasetObject describes the dataset that will be used in the component.
Properties
Property/Type | Description |
---|---|
idString | optional The identifier of the dataset. If not specified, the id is autogenerated. |
dataSourceDataSourceObject | optional 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
});