Enum TreeGridWebMcpToolCommand
Defines the built-in WebMCP tools that the TreeGrid exposes to browser AI agents.
Namespace: Syncfusion.Blazor.TreeGrid
Assembly: Syncfusion.Blazor.TreeGrid.dll
Syntax
public enum TreeGridWebMcpToolCommand
Fields
| Name | Description |
|---|---|
| AddRecord | Adds a record. |
| AutoFitColumns | Resizes columns to fit their content. |
| ClearSelection | Clears the row and cell selection. |
| CopyToClipboard | Copies the selection to the clipboard. |
| Custom | A host-defined tool that has no built-in handler. It runs only through the |
| DeleteRecord | Deletes a record. |
| DeleteSelectedRecords | Deletes the selected records. Destructive. |
| EditLifecycle | Starts, saves or cancels editing, and adds a record through the add form. |
| ExpandCollapse | Expands or collapses rows. |
| ExportData | Exports the data to Excel, CSV or PDF. |
| FilterColumn | Filters a column or clears filtering. |
| FocusGrid | Moves keyboard focus to the tree grid. |
| GetCheckedRecords | Returns the records checked in the checkbox column. |
| GetColumns | Returns the column definitions. |
| GetCurrentViewRecords | Returns the records in the current view. |
| GetEditState | Returns the record being edited and the batch changes. |
| GetFilteredRecords | Returns the records that match the current filter. |
| GetPersistData | Returns the serialized grid state that can be restored later. |
| GetRowIndexByPrimaryKey | Returns the row index for a primary key value. |
| GetRowModel | Returns level, expanded state, parent and child information of a record. |
| GetSelectedCells | Returns the selected cells as row and cell index pairs. |
| GetSelectedRecords | Returns the selected records. |
| GetSelectedRowIndexes | Returns the selected row indexes. |
| GetTotalItemsCount | Returns the total record count. |
| GoToPage | Navigates to a page. |
| IndentOutdent | Moves a record one level down or up the hierarchy. |
| MergeCells | Merges or unmerges cell regions. |
| None | No tool. It is the default value and is invalid for a TreeGridWebMcpTool entry. |
| OpenColumnChooser | Opens the column chooser. |
| PasteData | Pastes text into cells starting at a row and column. |
| PrintGrid | Prints the tree grid. |
| RefreshGrid | Refreshes the data, the columns, the view or the header. |
| ReorderColumns | Moves columns before a target column. |
| ReorderRow | Moves a row to another index. |
| RestorePersistData | Restores the grid state from saved data, or resets it. |
| ScrollIntoView | Scrolls a row or column into view. |
| SearchRecords | Searches the records. |
| SelectCell | Selects a single cell by row and cell index. |
| SelectCheckboxes | Checks the checkbox column rows by index. |
| SelectRows | Selects rows by index. |
| SetCellValue | Updates a single cell value. |
| SetPagerMessage | Sets the external message shown in the pager. |
| SetRowData | Updates the values of a row. |
| SetSpinner | Shows or hides the spinner. |
| SetToolbarItems | Enables, disables or resets toolbar items. |
| ShowHideColumns | Shows or hides columns. |
| SortColumn | Sorts a column or clears sorting. |
| UpdateCell | Updates one cell by row index in Batch or Cell edit mode. |
| UpdateRow | Updates a row by row index. |