No warranty is provided, express or implied
Install unlocked package version 0.13.5
- Add the ability to show an icon in the header
- Display errors on datatable
- Block sorting on fields that are not sortable
- Fix issue where newly inserted records would show duplicates if the table was refreshed immediately after creating the new record.
- Fix issues with picklist field. (thanks to @tsalb for his help with this)
- Add
editFieldName
option to datatable - allows for field fronting in edit mode
- Change live data updates to use PushTopic
- Add support for Change Data Capture.
- Fix problem with infinite loading sometimes not working.
- Picklist fields dropdown are auto populated, options will now override the default. Does not support RecordType dependent picklists.
- Picklist fields! The options need to be manually set on the field JSON using the
options
property. Accepts an array of strings or{label, value}
objects
- Allow custom label on datatable columns
- Fix issue in related list that prevented using a filter string if there was no parent-child relationship set.
- Add option to create a record from a related list
- Add option to edit related list inline
To setup, clone the repository locally, and from the home directory run $ yarn
.
To test lwc components locally run $ yarn:test
with sfdx installed.
To deploy authorize a dev hub in sfdx and run $ sfdx force:org:create -f config/project-scratch-def.json -a MyScratchOrg
followed by $ sfdx force:source:push -u MyScratchOrg
Takes as input an sObject and an array of fields and populates a datatable with records from the database.
Note: Streaming update support utilizes the PushTopic feature, which has a maximum of 50 PushTopic records per org. The datatable uses one for each object type that has live updates enabled. They can be deleted or deactivated if necessary - use SELECT Id, IsActive FROM PushTopic WHERE Name LIKE 'easydt__%
to retrieve them via SOQL.
Related list for use on lightning app and record pages. Choose object, fields, etc.
Fields accepts a comma separated list of fields, or a JSON list with field information. For more documentation see datatable