createCategorizedProperty Method
Converts record into FlatGridItem.
createCategorizedProperty(record: PropertyRecord, parentSelectionKey: string, parentCategorySelectionKey: string, depth: number, overrideName?: string, overrideDisplayLabel?: string): IMutableCategorizedPropertyItem
Parameter | Type | Description |
---|---|---|
record | PropertyRecord | record to convert to a FlatGridItem. |
parentSelectionKey | string | parent selection key of provided record . |
parentCategorySelectionKey | string | parent category selection key of provided record . |
depth | number | current depth counting from parent category. |
overrideName | string | property name that overrides original record property name. |
overrideDisplayLabel | string | property display label that overrides original record property display label. |
Returns - IMutableCategorizedPropertyItem
converted CategorizedProperty.
Defined in
- ui/components-react/src/components-react/propertygrid/internal/flat-items/MutableGridItemFactory.ts Line 87
Last Updated: 20 June, 2023