Skip to content

LWC fieldset driven datatable implementation with filters, search and infinite-loading support.

License

Notifications You must be signed in to change notification settings

paulovets/salesforce-lwc-reusable-datatable

Repository files navigation

Salesforce lwc reusable datatable

An extensible and reusable skeleton of an LWC-driven project, which can be used for data analysis-related tasks for a distinct Sobject within your Salesforce org.

Features

  • Fieldset driven datatable;
  • Infinite loading, by default based on Id ascending order;
  • Sorting by following fields: Id; unique and not nullable; autonumber; datetime(won't work if data inserted programmatically, because in such case the records would have the same timestamp). Shortly, to support the infinite loading - we must sort by unique fields only;
  • Automatically makes it possible to reveal a parent record in a new tab by adding links to a parent text fields;
  • SOSL driven search in all searchable field;
  • Fieldset driven preview, doesn't support relationship fields;
  • Fieldset-driven filters. Currently implemented for picklist and multipicklist field types only. More or less easily extensible, for example - have a look at the already supported ones.
  • Record and home pages;

Diagrams

Apex

Diagram

LWC

Diagram

Demo

Demo video

Releases

No releases published

Packages

No packages published