FlexmonsterControlOptionsObject

The FlexmonsterControlOptionsObject configures the control's layout.

Properties

Property/TypeDescription
viewTypeStringoptionalSpecifies the view type. Possible values: "flat-table" and "pivot-table".
Default value: "pivot-table".
flatTableFlatTableOptionsObjectoptionalConfigures the flat table view.
pivotTablePivotTableOptionsObjectoptionalConfigures the pivot table view.
flatFieldListFlatFieldListOptionsObjectoptionalConfigures the flat field list view.
pivotFieldListPivotFieldListOptionsObjectoptionalConfigures the pivot field list view.

Example

options: {
  // General options
  viewType: "flat-table",

  // Flat table specific options
  flatTable: {
    totalRowPosition: "after",
    showSheetHeaders: false
  },

  // Pivot table specific options
  pivotTable: {
    showSheetHeaders: true
  }
}