@serenity-is/corelib / PropertyGridOptions
Interface: PropertyGridOptions
Defined in: src/ui/widgets/propertygrid.tsx:1133
Options for configuring a PropertyGrid.
Properties
deferInit?
optionaldeferInit:boolean
Defined in: src/ui/widgets/propertygrid.tsx:1149
Asks the editors whose classes support both (see Widget.isDeferredInit) to defer their initialization (true), e.g. to load their lookups asynchronously, which a form that defers its own sets, or to initialize in their constructors (false); PropertyGrid.getEditorsLoading waits for the ones that defer it.
idPrefix?
optionalidPrefix:string
Defined in: src/ui/widgets/propertygrid.tsx:1135
Optional id prefix used for field element ids.
items
items:
PropertyItem[]
Defined in: src/ui/widgets/propertygrid.tsx:1137
The property items to render as fields.
localTextPrefix?
optionallocalTextPrefix:string
Defined in: src/ui/widgets/propertygrid.tsx:1139
Optional local text prefix used to localize captions and hints.
mode?
optionalmode:PropertyGridMode
Defined in: src/ui/widgets/propertygrid.tsx:1143
The grid mode; defaults to PropertyGridMode.insert.
value?
optionalvalue:any
Defined in: src/ui/widgets/propertygrid.tsx:1141
Optional initial value to load into the editors.