Trilium Frontend API
    Preparing search index...

    Interface CalculationComponent

    interface CalculationComponent {
        getCell: (
            column: string | HTMLElement | ColumnComponent,
        ) => CellComponent;
        getCells: () => CellComponent[];
        getData: () => { [key: string]: any };
        getElement: () => HTMLElement;
        getTable: () => Tabulator;
    }

    Hierarchy (View Summary)

    Index

    Properties

    getCell: (column: string | HTMLElement | ColumnComponent) => CellComponent

    The getCell function returns the CellComponent for the specified column from this row.

    getCells: () => CellComponent[]

    The getCells function returns an array of CellComponent objects, one for each cell in the row.

    getData: () => { [key: string]: any }

    The getData function returns the data object for the row.

    getElement: () => HTMLElement

    The getElement function returns the DOM node for the row.

    getTable: () => Tabulator

    The getTable function returns the Tabulator object for the table containing the row.