-
Templates
-
Customization
-
Customize the Survey Creator UI
-
Custom UI Configuration
-
UI Localization
-
Create a Multilingual Form
-
Toolbox Customization
-
Toolbox Categories
-
Hide a Category from the Property Grid
-
Add Custom Properties to the Property Grid
-
Remove Properties from the Property Grid
-
Property Dependencies
-
Modify new Question
-
Toolbar customization
-
Tabs customization
-
Runtime Toolbox Customization
-
Customize Property Editors
-
Create Custom Adorners
-
Manage Survey Header
-
Modify Designer and Test Surveys
-
Manage Image Uploads
-
-
Components
-
Custom Widgets
-
Load/Save Surveys
-
Appearance customization
-
No-code Editor for Domain Models
-
New functionality in Creator V2
Hide a Category from the Property Grid
This sample demonstrates how to handle the onShowingProperty event to hide all properties in the 'Logic' category and the 'Logic' category itself.
Currently, there is no single option to hide a category in the Properties grid for all survey elements (pages, panels, questions of different types). Actually, a category in the Properties grid hides automatically, if all its properties become hidden. So, to hide a category, you can iterate through all properties and hide those which belong to this category.
The definition of all question properties (together with the related categories/tabs) can be found in our sources, in the following file: questionEditorDefinition.ts
To hide the 'Logic' category, you can review the questionEditorDefinition.ts file and populate a stop-list array (propertyStopList in the sample code) with properties that contain 'tab: "logic"'. Then handle the Creator's onShowingProperty event and prevent the display of properties contained in the black list. As a result, the 'Logic' category hides automatically if it does not contain any property.
-
Templates
-
Customization
-
Customize the Survey Creator UI
-
Custom UI Configuration
-
UI Localization
-
Create a Multilingual Form
-
Toolbox Customization
-
Toolbox Categories
-
Hide a Category from the Property Grid
-
Add Custom Properties to the Property Grid
-
Remove Properties from the Property Grid
-
Property Dependencies
-
Modify new Question
-
Toolbar customization
-
Tabs customization
-
Runtime Toolbox Customization
-
Customize Property Editors
-
Create Custom Adorners
-
Manage Survey Header
-
Modify Designer and Test Surveys
-
Manage Image Uploads
-
-
Components
-
Custom Widgets
-
Load/Save Surveys
-
Appearance customization
-
No-code Editor for Domain Models
-
New functionality in Creator V2