@helix-x/datagrid-ui - v0.1.2
    Preparing search index...

    Interface HxRowsRequest

    What the grid asks the server for: one page, with the active sort and filters.

    Structurally compatible with ag-grid's IServerSideGetRowsRequest, so an endpoint written for that model accepts this verbatim. The grouping and pivot fields are always sent empty — this grid does not implement them — but they are present so servers that destructure them do not fall over.

    app.post('/api/rows', (req, res) => {
    const { startRow, endRow, sortModel, filterModel } = req.body;
    const filtered = applyFilters(allRows, filterModel);
    const sorted = applySort(filtered, sortModel);
    res.json({ rows: sorted.slice(startRow, endRow), lastRow: filtered.length });
    });
    interface HxRowsRequest {
        endRow: number;
        filterModel: FilterModelMap;
        groupKeys: never[];
        pivotCols: never[];
        pivotMode: false;
        rowGroupCols: never[];
        sortModel: SortModelItem[];
        startRow: number;
        valueCols: never[];
    }
    Index
    endRow: number

    Index one past the last row wanted, exclusive.

    filterModel: FilterModelMap

    Active filters, keyed by column id. Empty when unfiltered.

    groupKeys: never[]

    Always empty. Present only for ag-grid wire compatibility.

    pivotCols: never[]

    Always empty. Present only for ag-grid wire compatibility.

    pivotMode: false

    Always false. Present only for ag-grid wire compatibility.

    rowGroupCols: never[]

    Always empty. Present only for ag-grid wire compatibility.

    sortModel: SortModelItem[]

    Active sorts, primary first. Empty when unsorted.

    startRow: number

    Zero-based index of the first row wanted, inclusive.

    valueCols: never[]

    Always empty. Present only for ag-grid wire compatibility.