Phials developer documentation
User guide
AI Notice: Most documentation right now was auto-generated by an LLM. Handwritten documentation will be implemented over time on the road to 1.0

ViewColumnDefinition

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

NameTypeRequiredDescription
idstringyes
labelstringyes
widthnumberyes
minWidthnumberno
sortablebooleanno
getValue(file: FileEntry) => string | number | nullyes