New to KendoReactStart a free 30-day trial

Definition

Package:@progress/kendo-react-pivotgrid

Properties

Shows whether the form can be submitted. When true and form is valid, you can submit. When true and form is invalid, you can show all validation errors.

Use this to control the disabled state of Submit buttons.

Overrides the default columnAxesEditor component.

The default component is: PivotGridAxesEditor.

columnAxesLabel?

CustomComponent​<FieldProps intersected with LabelProps>

Overrides the default columnAxesLabel component.

The default component is: KendoReactLabel.

data

PivotGridField[]

Sets the data of the PivotGridConfiguratorEditor.

The data represents all fields available in the configurator.

errors

KeyValue​<string>

Contains current validation errors organized by field path.

Overrides the default fieldsEditor component.

The default component is: PivotGridFieldsEditor.

fieldsLabel?

CustomComponent​<FieldProps intersected with LabelProps>

Overrides the default fieldsLabel component.

The default component is: KendoReactLabel.

Renders the PivotGridConfiguratorEditor in horizontal orientation.

Default:

false

Overrides the default measureAxesEditor component.

The default component is: PivotGridAxesEditor.

measureAxesLabel?

CustomComponent​<FieldProps intersected with LabelProps>

Overrides the default measureAxesLabel component.

The default component is: KendoReactLabel.

modified

boolean

Shows whether any field value has changed from its initial value. Becomes true when any field value changes for the first time.

A callback, fired whenever an AxisFilterField is expanded.

A callback, fired whenever expanded state of the AxisFilterFields is changed.

onChange

(name: string, options: { value: any }) => void

A callback for emitting changes to a specific field without using the Field component (see example).

Use onChange only if you cannot achieve the desired behavior through the Field component.

Parameters:namestringoptions{ value: any }

onFieldsEditorFieldCheck?

(event: PivotGridFieldsEditorFieldCheckEvent intersected with { currentTarget: PivotGridConfiguratorEditorHandle }) => void

A callback, fired whenever a FieldEditorField is checked.

Parameters:eventPivotGridFieldsEditorFieldCheckEvent intersected with { currentTarget: PivotGridConfiguratorEditorHandle }

onFieldsEditorFieldExpand?

(event: PivotGridFieldsEditorFieldExpandEvent intersected with { currentTarget: PivotGridConfiguratorEditorHandle }) => void

A callback, fired whenever a FieldEditorField is expanded.

Parameters:eventPivotGridFieldsEditorFieldExpandEvent intersected with { currentTarget: PivotGridConfiguratorEditorHandle }

onFormReset

() => void

Resets the form to its initial state.

onSubmit

(event: SyntheticEvent​<any, Event>) => void

Submits the form when called. Use this with the onClick property of Submit buttons.

Parameters:eventSyntheticEvent​<any, Event>

Overrides the default rowAxesEditor component.

The default component is: PivotGridAxesEditor.

rowAxesLabel?

CustomComponent​<FieldProps intersected with LabelProps>

Overrides the default rowAxesLabel component.

The default component is: KendoReactLabel.

submitted

boolean

Shows whether the form has been successfully submitted. Use this to detect if the user is leaving before saving changes.

touched

boolean

Shows whether the user has interacted with any field. Becomes true when any field loses focus or the user tries to submit.

valid

boolean

Shows whether the form passes all validation rules. Becomes false if any field fails validation.

A callback for getting the value of a field without using the Field component (see example). Useful for creating and modifying the UI based on the field values.

Parameters:namestringReturns:

any

visited

boolean

Shows whether the user has focused on any field. Becomes true when any field receives focus or the user tries to submit.