Documentation Docs
Documentation Docs

QuestionToolboxItem

A toolbox item instance.

An object of this class is returned by the QuestionToolbox's getItemByName(name) method.

addSubitem method

Adds a subitem to this toolbox item.

Manage Toolbox Subitems

Type:
(item: IQuestionToolboxItem, index?: number) => void
Parameters:
item, type: IQuestionToolboxItem
index, type: number ,

(Optional) A zero-based index at which to insert the subitem. If you do not specify this parameter, the subitem is added to the end.

Implemented in:
QuestionToolboxItem
See also:
removeSubitem * , clearSubitems
category property

A category to which this toolbox item belongs.

Out-of-the-box categories include "general", "choice", "text", "containers", "matrix", and "misc".

Default value: "general"

Type:
string readonly
Implemented in:
QuestionToolboxItem
clearSubitems method

Removes all subitems from this toolbox item.

Manage Toolbox Subitems

Type:
() => void
Implemented in:
QuestionToolboxItem
See also:
removeSubitem * , addSubitem
enabled property

Specifies whether users can interact with the toolbox item.

Default value: true

Type:
boolean writable
Implemented in:
QuestionToolboxItem
iconName property

An icon name.

UI Icons

Type:
string readonly
Implemented in:
QuestionToolboxItem
json property

A JSON object used to create a new question or panel when users click this toolbox item. It must contain the type property.

View Toolbox Customization Demo

Type:
any readonly
Implemented in:
QuestionToolboxItem
name property

A toolbox item identifier.

Toolbox item names must be unique.

Type:
string readonly
Implemented in:
QuestionToolboxItem
removeSubitem method

Removes a specific subitem from this toolbox item.

Manage Toolbox Subitems

Type:
(item: string | IQuestionToolboxItem) => void
Parameters:
item, type: string | IQuestionToolboxItem
Implemented in:
QuestionToolboxItem
See also:
clearSubitems * , addSubitem
title property

A user-friendly toolbox item title.

Type:
string writable
Implemented in:
QuestionToolboxItem
tooltip property

A toolbox item tooltip.

If tooltip is undefined, the title property value is used instead.

Type:
string readonly
Implemented in:
QuestionToolboxItem

Copyright © 2024 Devsoft Baltic OÜ. All rights reserved.

Your cookie settings

We use cookies on our site to make your browsing experience more convenient and personal. In some cases, they are essential to making the site work properly. By clicking "Accept All", you consent to the use of all cookies in accordance with our Terms of Use & Privacy Statement. However, you may visit "Cookie settings" to provide a controlled consent.

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.