WebUiMultiPropertyGridDialogJS Constructor(object,object)
In This Topic
Initializes a new instance of the
WebUiMultiPropertyGridDialogJS class.
Syntax
Parameters
- selectorSettings
- The settings for property grids, which should be displayed in dialog. The 'selectorSettings' parameter has the following properties:
- title (string): A string, that contains the text to display as selector title.
- selectors (object[]): Array of options, which contain the following properties:
- text (string): A string, that contains the text to display in selector.
- value (string): A string, that contains value of selector option.
- localizationId (string): Unique localization ID of selector option.
- propertyGrid (WebPropertyGridJS): Property grid that contains the object settings.
- selectedIndex (number): Zero-based index of selected option.
- settings
- The settings for dialog. The 'settings' parameter has the following properties:
- cssClass (string): The name of CSS-class or names of CSS-classes, which will be applied to the element. Example: "cssClass:'button remove'".
- css (object): Object, which contains the names and values of CSS properties. Example: "css:{'width':'100px', 'height':'50px'}".
- properties (object): Object, which contains the names and values of element attributes. Example: "properties:{'title':'Hello', 'id':'helloId'}"
- states (object): An instance of WebUiElementStateCollectionJS class.
- title (string): Shortcut for 'title' attribute of element (equals - "properties:{'title':'some title'}"). Important: If 'states' is defined and active state WebUiElementJS.get_ActiveState has title, the UI element will have title of active state.
- id (string): Shortcut for 'id' attribute of element (equals - "properties:{'id':'elementId'}").
- onClick (object): Shortcut for 'click' event callback.
- onChange (object): Shortcut for 'change' event callback.
- localizationId (string): Unique localization ID.
Browser Compatibility
See Also