1771 Technologies Logo

Components (BETA)

Measures Manager

The MeasuresManager component provides a draggable list of pills representing the measureModel of the Grid.

price
volume
import { MeasuresManager } from "@1771technologies/graphite-grid-react";
 
export function PivotPillsPivots() {
  const grid = useGraphiteGrid({
    // props
  });
 
  return (
    <div>
      <MeasuresManager state={grid} orientation="horizontal" />
    </div>
  );
}

The MeasuresManager component can be used to manage the measures in the grid. Measures can be updated, removed, or reordered. However, the MeasuresManager component cannot add new measures. Instead, a different component must be used. The api.setMeasureModel method can be used to add new measures to the grid.

Customizing the MeasuresManager

The MeasuresManager component provides many properties that can be used to customize the look and feel of the MeasuresManager. See the MeasuresManager API Reference for a full description of each property.

Previous
Pivot Pills