Documentation Docs
Documentation Docs

IQuestionToolboxItem

A toolbox item configuration.

IQuestionToolboxItem objects are used in such Toolbox API methods as getItemByName(name), addItem(item, index), replaceItem(item), and others.

Toolbox Customization

addSubitem method

Adds a subitem to this toolbox item.

Manage Toolbox Subitems

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

An IQuestionToolboxItem object that represents a subitem configuration.

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:
IQuestionToolboxItem
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:
IQuestionToolboxItem
clearSubitems method

Removes all subitems from this toolbox item.

Manage Toolbox Subitems

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

Specifies whether users can interact with the toolbox item.

Default value: true

Type:
boolean readonly
Implemented in:
IQuestionToolboxItem
iconName property

An icon name.

UI Icons

Type:
string readonly
Implemented in:
IQuestionToolboxItem
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:
IQuestionToolboxItem
name property

A toolbox item identifier.

Toolbox item names must be unique.

Type:
string readonly
Implemented in:
IQuestionToolboxItem
removeSubitem method

Removes a specific subitem from this toolbox item.

Manage Toolbox Subitems

Type:
(subitem: string | IQuestionToolboxItem) => void
Parameters:
subitem, type: string | IQuestionToolboxItem ,

A subitem name or an IQuestionToolboxItem object that represents a subitem configuration.

Implemented in:
IQuestionToolboxItem
See also:
clearSubitems * , addSubitem
title property

A user-friendly toolbox item title.

Type:
string readonly
Implemented in:
IQuestionToolboxItem
tooltip property

A toolbox item tooltip.

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

Type:
string readonly
Implemented in:
IQuestionToolboxItem

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.