Generic components
Currently there are 2 generic components (PFB). Very soon I will add DEMO components which will show how to use them.
-
datatable: Generic datatable which uses standard lightning-datatable for showing records in table
- Gets data from database automatically. Can use relationship fields also.
- Sort functionality
- Pagination - first, previous, next and last pages
- Persistant selection of records across pages. getSelectedRows public method to get selected data.
- All events of lightning-datatable plus event while loading data
- Cacheable data
- Sosl search
- Dynamically change data filters
- Gets data from database automatically. Can use relationship fields also.
-
upload: Currently implemented only for admins (without shareable)
- Use component in create form wherein, the file has to be uploaded before record (like account or case etc) is created.
- Share records with other users
- Search for files
- Delete files
- Used datatable for showing records which gives all the functionality like sort, pagination etc
- Use component in create form wherein, the file has to be uploaded before record (like account or case etc) is created.