lwc-datatable-plus

Public
On this page

    lightning-datatable with the missing pieces: server-side pagination, column filters, saved views and CSV export — as one drop-in component.

    What it adds

    The standard datatable stops at sorting. This wraps it with cursor-based pagination against your Apex, per-column filter inputs, view definitions users can save, and a client-side CSV export that respects the current filters.

    Install

    Deploy the component and its Apex controller interface, implement one method returning a page of rows, and replace your lightning-datatable tag. The README walks a working Account table in fifteen minutes.

    Design notes

    Pagination is cursor-based (keyset on Id) rather than OFFSET, so page 40 of a million rows costs the same as page one. Saved views serialise to a custom object, one record per user per table.