Skip to content

@serenity-is/corelib / PropertyGridOptions

Interface: PropertyGridOptions

Defined in: src/ui/widgets/propertygrid.tsx:1071

Options for configuring a PropertyGrid.

Properties

idPrefix?

optional idPrefix: string

Defined in: src/ui/widgets/propertygrid.tsx:1073

Optional id prefix used for field element ids.


items

items: PropertyItem[]

Defined in: src/ui/widgets/propertygrid.tsx:1075

The property items to render as fields.


localTextPrefix?

optional localTextPrefix: string

Defined in: src/ui/widgets/propertygrid.tsx:1077

Optional local text prefix used to localize captions and hints.


mode?

optional mode: PropertyGridMode

Defined in: src/ui/widgets/propertygrid.tsx:1081

The grid mode; defaults to PropertyGridMode.insert.


value?

optional value: any

Defined in: src/ui/widgets/propertygrid.tsx:1079

Optional initial value to load into the editors.