Skip to content

Commit 3e90a5a

Browse files
authored
Merge pull request #24 from SciCatProject/add-editable
add editable column type
2 parents d626143 + d49df9f commit 3e90a5a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/frontendconfig/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Defines how each field is displayed in the list table.
2727
| ------------ | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- |
2828
| `name` | `string` | Object key whose value will be displayed in the column. | `"datasetName"` |
2929
| `order` | `number` | Position of the column in the table. | `2` |
30-
| `type` | `string` | How the value is rendered:<br>• `standard` – plain text (default)<br>• `hoverContent` – shows icon with popup/modal when mouseover (for long text)<br>• `date` – formats ISO date strings; can include a `format` (e.g. `yyyy-MM-dd`) | `"date"` |
30+
| `type` | `string` | How the value is rendered:<br>• `standard` – plain text (default)<br>• `hoverContent` – shows icon with popup/modal when mouseover (for long text)<br>• `date` – formats ISO date strings; can include a `format` (e.g. `yyyy-MM-dd`)<br>• `editable` – plain text and editable by clicking on cell if user has permission | `"date"` |
3131
| `width` | `number` | Default width of the column. | `200` |
3232
| `format` | `string` | Optional property used **only** when `type` is set to `date`. Defines how ISO date strings are displayed (e.g. `yyyy-MM-dd`). <br> it fallsback to `dateFormat` or `yyyy-MM-dd HH:mm` for dataset and `yyyy-MM-dd` for proposal | `"yyyy-MM-dd"` |
3333
| `enabled` | `boolean` | Whether the column is displayed by default. | `true` |

0 commit comments

Comments
 (0)