Skip to main content
All docs
V25.1
  • ASPxClientGanttContextMenuItem.text Property

    Specifies the context menu item’s text.

    Declaration

    text: string

    Property Value

    Type Description
    string

    The item text.

    Remarks

    <dx:ASPxGantt ID="Gantt" ClientInstanceName="clientGantt" >
        //...
        <ClientSideEvents
          ContextMenuCustomization="function(s, e) {
              ...
              // Creates an item
              var customItem = new ASPxClientGanttContextMenuItem();
              customItem.name = 'Item1';
              customItem.text = 'Item1';
    
              // Adds the item to the context menu items
              e.menuItems.Add(customItem);
          }
        />
    </dx:ASPxGantt>
    

    Examples

    See Also