Skip to content

Related List component based on LWC framework

License

Notifications You must be signed in to change notification settings

jorgesolebur/relatedList

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Related List component based on LWC framework

Lightning component for displaying a list of Salesforce records that are related to a parent record with a lookup or master-detail relationship.

Install the package

Notes:

The component configuration fields are:

  • record-id - Id of parent record (Required)
  • sobject-api-name - Name of child sobject (Required)
  • related-field-api-name - Name of lookup or master-detail field on child sobject (Required)
  • sorted-by - Name of field used for sorting (Required)
  • sorted-direction - ASC or DESC for ascending/descending directions of sorting (Optional)
  • fields - List of API Names for displaying (Required)
  • columns - Array of the columns object that's used to define the data types (Required). For data types read datatable specification
  • custom-actions - List of actions in action menu (Optional). Edit and Delete are default.
  • row-action-handler - The action triggered when a row action is clicked. It overrides standard handler (Optional)
  • number-of-records - number of records in a list. Default is 6 (Optional)

About

Related List component based on LWC framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 48.2%
  • HTML 26.4%
  • Apex 23.0%
  • CSS 2.4%