Edit API reference: file chooser editor options, events and methods
Adds the file chooser editor to the editing API reference, so the edit API covers all editor types: input and dropdown (GRID-A14-F04, GRID-A14-F09) plus file. The reference documents every fileEditor option, callback signature, event payload, and programmatic method for starting and cancelling a file edit. Its live example drives the editor entirely through the API.
Planned. This page shows the specification from issue #211. The live example, source for every framework and the API reference replace it when the feature ships.
Live example
The grid from GRID-UG-201-F01 with an API console panel and an event log.
Expected behavior
The toolbar button opens the picker for the focused row's Attachment cell. The event log shows editBegin, then editCommit or editCancel or fileEditorError, with typed payloads matching the reference.
Planned API surface
api.edit.startEdit(rowId, colId): void (opens the picker for editor 'file')api.edit.cancelEdit(): voidapi.edit.isEditing(): booleanEvents: editBegin, editCommit { oldValue, newValue }, editCancel, fileEditorErrorType: FileEditorOptions (full TypeScript definition in reference)Acceptance criteria
- Reference lists all editor types including 'file' with option tables (pending)
- Every event payload field is documented and matches the TypeScript types (pending)
- startEdit on a file column opens the picker only within a user gesture; this limitation is documented (pending)
- Example code compiles under the published typings (pending)