UIInternal UI

Blocks

DataViewSettingsPanel

@randall-enterprises/ui/components/data-view/settings-panel/settings-panel

What <DataView.Toolbar.Settings /> draws: a stacked popover of typed panes — layout, properties, filter, sort, group, sub-group, conditional colour and the chart panes — each one a PaneProps<T> component over the same ViewConfig. Open it and change the layout; the caption follows the config.

Props (14)

fields *DataViewField<T>[]
baseFieldsDataViewField<T>[]Schema before display overrides — the property editor's reference.
config *ViewConfig
onConfigChange *(config: ViewConfig) => void
availableViewsViewType[]Which layouts the "Layout" pane offers. Default: all five.
supportsSubItemsbooleanTrue when the page supplies a parent relation, so nesting is possible.
supportsRowIconboolean
activeViewSavedViewThe selected saved view, if any — drives the rename row on the root pane.
onRenameView(label: string) => voidOmit to hide the rename input entirely.
initialPaneSettingsPaneUncontrolled by default. When provided, opens at this pane each time it opens.
viewsSavedView[]All saved views — required when the icon picker is reachable (clicking the view icon).
onViewsChange(views: SavedView[]) => voidPersists icon changes back to the view list.
refineCountnumberHow many filter rules plus sorts are on — tints the trigger and counts on it.
capabilitiesDataViewCapabilitiesWhat the reader may change. A locked source drops the property visibility

returns ReactNode