-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating API docs for custom widgets (#272)
- Updating mapping description (mentioning about multiple types) - Adding new section about Widget Linking for custom widgets - Updating API reference
- Loading branch information
Showing
10 changed files
with
237 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Interface: SqlPost | ||
|
||
[DocApiTypes](../modules/DocApiTypes.md).SqlPost | ||
|
||
JSON schema for the body of api /sql POST endpoint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Interface: TablePost | ||
|
||
[DocApiTypes](../modules/DocApiTypes.md).TablePost | ||
|
||
Creating tables requires a list of columns. | ||
`fields` is not accepted because it's not generally sensible to set the metadata fields on new tables. | ||
|
||
## Hierarchy | ||
|
||
- `ColumnsPost` | ||
|
||
↳ **`TablePost`** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Interface: CursorPos | ||
|
||
[grist-plugin-api](../modules/grist_plugin_api.md).CursorPos | ||
|
||
Represents the position of an active cursor on a page. | ||
|
||
## Table of contents | ||
|
||
### Properties | ||
|
||
- [fieldIndex](grist_plugin_api.CursorPos.md#fieldindex) | ||
- [rowId](grist_plugin_api.CursorPos.md#rowid) | ||
- [rowIndex](grist_plugin_api.CursorPos.md#rowindex) | ||
- [sectionId](grist_plugin_api.CursorPos.md#sectionid) | ||
|
||
## Properties | ||
|
||
### fieldIndex | ||
|
||
• `Optional` **fieldIndex**: `number` | ||
|
||
The index of the selected field in the current view. | ||
|
||
___ | ||
|
||
### rowId | ||
|
||
• `Optional` **rowId**: [`UIRowId`](../modules/grist_plugin_api.md#uirowid) | ||
|
||
The rowId (value of the `id` column) of the current cursor position, or 'new' if the cursor is on a new row. | ||
|
||
___ | ||
|
||
### rowIndex | ||
|
||
• `Optional` **rowIndex**: `number` | ||
|
||
The index of the current row in the current view. | ||
|
||
___ | ||
|
||
### sectionId | ||
|
||
• `Optional` **sectionId**: `number` | ||
|
||
The id of a section that this cursor is in. Ignored when setting a cursor position for a particular view. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.