Skip to content

@serenity-is/corelib / PropertyGridOptions

Interface: PropertyGridOptions

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

Options for configuring a PropertyGrid.

Properties

idPrefix?

optional idPrefix: string

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

Optional id prefix used for field element ids.


items

items: PropertyItem[]

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

The property items to render as fields.


localTextPrefix?

optional localTextPrefix: string

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

Optional local text prefix used to localize captions and hints.


mode?

optional mode: PropertyGridMode

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

The grid mode; defaults to PropertyGridMode.insert.


value?

optional value: any

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

Optional initial value to load into the editors.