ViewColumnDefinition
Since Plugin API: 1.0.0
Column definition for views that support columns
Signature
interface ViewColumnDefinition { id: string; label: string; width: number; minWidth?: number; sortable?: boolean; getValue: (file: FileEntry) => string | number | null;}Members
| Name | Type | Required | Description |
|---|---|---|---|
id |
string |
yes | - |
label |
string |
yes | - |
width |
number |
yes | - |
minWidth |
number |
no | - |
sortable |
boolean |
no | - |
getValue |
(file: FileEntry) => string | number | null |
yes | - |