alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Enum GanttWebMcpToolCommand

    Discriminator passed to GanttWebMcpTool. A known value maps the entry to a built-in tool; Custom registers a developer- authored tool that requires Name, InputSchema, and OnExecute.

    The EnumMemberAttribute value is the canonical PascalCase tool name — the same identifier the WebMcpAdapter catalog stores in Name and the dispatcher switch matches against. PascalCase is the single source of truth across the SfGantt WebMCP stack (catalog, dispatcher, settings merge, and browser registration).

    Namespace: Syncfusion.Blazor.Gantt
    Assembly: Syncfusion.Blazor.Gantt.dll
    Syntax
    [JsonConverter(typeof(JsonStringEnumConverter))]
    public enum GanttWebMcpToolCommand

    Fields

    Name Description
    AddPredecessor

    Add a predecessor (dependency) to a task.

    AddTask

    Add a new task to the data source.

    CancelEdit

    Close any open edit/add dialog without saving.

    ClearFiltering

    Remove all active filtering from the grid.

    ClearSelection

    Clear the current selection.

    ClearSorting

    Remove all active sorting from the grid.

    CollapseAll

    Collapse every row in the grid.

    CollapseAtLevel

    Collapse every row at the supplied hierarchy level.

    CollapseByKey

    Collapse the rows whose primary keys are supplied.

    ConvertToMilestone

    Convert the supplied task to a milestone (zero duration).

    CopyToClipboard

    Copy the supplied text to the clipboard.

    Custom

    Custom tool. Requires Name, Description, and InputSchema. Custom tools are dispatched through GanttEvents.OnWebMcpExecute; the host sets args.Result in the event callback.

    DeleteTask

    Delete a task by primary key.

    ExpandAll

    Expand every row in the grid.

    ExpandAtLevel

    Expand every row at the supplied hierarchy level.

    ExpandByKey

    Expand the rows whose primary keys are supplied.

    FilterByColumn

    Apply a filter to a column using the supplied operator and value.

    GetColumnIndexByField

    Return the current column index for the supplied field name.

    GetColumns

    Return the column definitions currently rendered.

    GetCriticalTasks

    Return the tasks currently on the critical path.

    GetCurrentViewRecords

    Return the records currently rendered in the viewport.

    GetData

    Return the full bound data collection. Opt-in: Enabled defaults to false.

    GetFilteredRecords

    Return the records currently in the active filter.

    GetPersistedData

    Return the persisted toolbar/filter state for the supplied key.

    GetRowTaskModel

    Return the row-and-task pair for the supplied primary key.

    GetSelectedRecords

    Return the records currently selected by the user.

    GetSelectedRowCellIndexes

    Return the row and cell indexes of the current selection.

    GetSelectedRowIndexes

    Return the row indexes of the current selection.

    GetTaskById

    Return the task record for the supplied primary key.

    HideColumn

    Hide a visible column by field name.

    HideSpinner

    Hide the loading spinner.

    IndentTask

    Indent the supplied task one hierarchy level.

    MergeTask

    Merge consecutive segments of a task back into one.

    NavigateToNextTimeSpan

    Advance the timeline viewport to the next scheduled unit.

    NavigateToPreviousTimeSpan

    Move the timeline viewport to the previous scheduled unit.

    None

    No command set — validation will throw.

    OpenAddDialog

    Open the Add Record dialog prefilled with the supplied fields.

    OpenColumnChooser

    Open the column chooser dialog.

    OpenEditDialog

    Open the Edit Record dialog for the supplied task.

    OutdentTask

    Outdent the supplied task one hierarchy level.

    Refresh

    Force the grid to refresh from the bound data source.

    RefreshColumns

    Force the column collection to re-render.

    RemovePredecessor

    Remove a predecessor (dependency) from a task.

    ReorderColumns

    Reorder columns to the supplied sequence of field names.

    ReorderRow

    Reorder a row within its parent.

    ResetPersistedData

    Remove persisted state for the supplied key.

    ResetZoom

    Reset the timeline zoom to the configured default.

    ScrollToTaskbar

    Scroll the timeline so the supplied taskbar is visible.

    ScrollToTimeline

    Scroll the timeline to the supplied date.

    Search

    Run the toolbar search across the bound data.

    SelectCell

    Select a single cell by row index and field name.

    SelectRow

    Select a single row by primary key.

    SelectRowRange

    Select a contiguous range of rows.

    SelectRows

    Select multiple rows by primary keys.

    SetPersistedData

    Persist toolbar/filter state under the supplied key.

    SetSplitterPosition

    Move the splitter between the grid pane and the chart pane.

    ShowColumn

    Show a hidden column by field name.

    ShowSpinner

    Show the loading spinner.

    SortByColumn

    Sort the grid by a column in ascending or descending order.

    SplitTask

    Split a task into two segments at the supplied date.

    UpdatePredecessor

    Update an existing predecessor (dependency) type or offset.

    UpdateProjectDates

    Update the project start and end dates.

    UpdateTask

    Update an existing task with the supplied field values.

    ZoomIn

    Zoom the timeline in by one step.

    ZoomOut

    Zoom the timeline out by one step.

    ZoomToFit

    Zoom the timeline to fit the entire bound data on screen.

    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved