Hide a Category from the Property Grid
Properties in the Property Grid are organized into categories. If you want to hide one or several categories, customize the Property Grid within the onSurveyInstanceCreated
event handler. In this demo, it is used to hide the Conditions category for all elements, except for survey, pages, and panels.
Like most Survey Creator UI elements, the Property Grid is essentially a survey, in which categories are panels. To hide a category, you need to hide the corresponding panel. Find it by category name using SurveyModel
's getPanelByName()
method and disable the panel's visible
property. Refer to the onSurveyInstanceCreated
implementation in this demo for a code example.