Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add editable data grid section to docs #499

Merged
merged 2 commits into from
Jul 9, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/data-grid/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -302,3 +302,11 @@ basicGrid.columnDefinitions = [
{ columnDataKey: "ColumnKey4", title: "Custom Title" },
];
```

## Editable Data Grid

Interactive/editable data grids are a highly requested feature in the Webview UI Toolkit.

By default, the toolkit and in particular [FAST](https://www.fast.design/) (the underlying framework that the toolkit uses) **do not** offer any first-party APIs for enabling interactivity or editability in data grids. Additionally, since FAST owns the underlying data grid implementation, first-party support for interactivity will eventually need to come from them.

With that said, workaround solutions are possible and a reference implementation for making the `vscode-data-grid` component editable is [available as a sample extension](https://github.com/microsoft/vscode-webview-ui-toolkit-samples/tree/main/default/editable-data-grid).