API Reference > ui-components > PropertyGrid > MutableGridItemFactory > createGridCategory createGridCategory Method Converts category into GridCategoryItem. createGridCategory(category: PropertyCategory, recordsDict: CategoryRecordsDict, parentSelectionKey?: string, depth?: number): IMutableGridCategoryItem Parameter Type Description category PropertyCategory PropertyCategory to convert. recordsDict CategoryRecordsDict dictionary of category records. parentSelectionKey string parent selection key of this category. depth number current depth counting from root category. Returns - IMutableGridCategoryItem converted GridCategory. Defined in ui/components/src/ui-components/propertygrid/internal/flat-items/MutableGridItemFactory.ts Line 118 Last Updated: 12 June, 2024