Skip to main content
All docs
V23.2

ASPxClientGanttContextMenuItem.name Property

Specifies the context menu item’s name.

Declaration

name: string

Property Value

Type Description
string

The name.

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

Online Demo

See Also