Hide a Category from the Property Grid

Edit in →

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 pages (by default) or panels (if you set propertyGridNavigationMode to "accordion"). To hide a category, you need to hide the corresponding page or panel. Find it by category name using SurveyModel's getPageByName() or getPanelByName() method and call the delete() method on the page or panel object. Refer to the onSurveyInstanceCreated implementation in this demo for a code example.

Your cookie settings

We use cookies to make your browsing experience more convenient and personal. Some cookies are essential, while others help us analyse traffic. Your personal data and cookies may be used for ad personalization. By clicking “Accept All”, you consent to the use of all cookies as described in our Terms of Use and Privacy Statement. You can manage your preferences in “Cookie settings.”

Your renewal subscription expires soon.

Since the license is perpetual, you will still have permanent access to the product versions released within the first 12 month of the original purchase date.

If you wish to continue receiving technical support from our Help Desk specialists and maintain access to the latest product updates, make sure to renew your subscription by clicking the "Renew" button below.

Your renewal subscription has expired.

Since the license is perpetual, you will still have permanent access to the product versions released within the first 12 month of the original purchase date.

If you wish to continue receiving technical support from our Help Desk specialists and maintain access to the latest product updates, make sure to renew your subscription by clicking the "Renew" button below.