Skip to main content
You are viewing help content for a version that is no longer maintained/updated.
All docs
V17.2
  • ToolboxExtension.removeToolboxItem(String, String) Method

    Removes the specified item from the specified toolbox group.

    Namespace: DevExpress.Dashboard

    Assembly: DevExpress.Dashboard.v17.2.Web.Scripts.dll

    Declaration

    public void removeToolboxItem(
        string groupName,
        string toolboxItemName
    )

    Parameters

    Name Type Description
    groupName String

    A string value that is a unique toolbox group name (DashboardToolboxGroup.name).

    toolboxItemName String

    A string value that is a unique toolbox item name (DashboardToolboxItem.name).

    Remarks

    The removeToolboxItem method can be used to remove a button allowing end-users to add the specified dashboard item:

    function onBeforeRender(sender) {
        // ...
        toolboxExtension.removeToolboxItem("maps", "BubbleMap");
    }
    
    See Also