Skip to main content
You are viewing help content for a version that is no longer maintained/updated.
All docs
V17.2
  • DashboardMenuItem.id Property

    Gets or sets a unique identifier of a dashboard menu item.

    Namespace: DevExpress.Dashboard

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

    Declaration

    public string id { get; set; }

    Property Value

    Type Description
    String

    A string value that is a menu item’s unique identifier.

    Remarks

    Use the id property value to address to the dashboard menu item by id.

    The following code snippet shows you how to remove the Open… item from the dashboard menu.

    function onBeforeRender(sender, args) {
        var dashboardControl = sender.getDashboardControl();
        var toolbox = dashboardControl.findExtension('toolbox');
    
        // Removes the dashboard menu item by its id.
        toolbox.removeMenuItem("open-dashboard");
    }
    
    See Also