Skip to content

DynamicTableComponent which works with any salesforce SObject and field configuration along with one level parent field configuration

Notifications You must be signed in to change notification settings

prinzprithvi/DynamicTableLightningComponent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

DynamicTableLightningComponent

DynamicTableComponent which works with any salesforce SObject and field configuration along with one level parent field configuration

Configure fieldAPI's,ObjectAPI and replaceHeaders attributes, and you are all set to go.

#JS

All column data are readonly; First column is linked to "Done" event, which is fired on selection of record, it will pass the record details so that parent component can handle and use the event data for further processing.

Usage, From a parent component add DynamicTableComponent as a child component and pass configuring attributes, as shown below.

<c:DynamicTableComponent aura:id="dtcContact" fieldAPIs="['Name','Account.Name','Title']" objectAPI="Contact" initialSearchString="{!v.selectedContactRecord.Name}" replaceHeaders="Account.Name:Company Name"/>

fork's are welcome

Happy Coding :)

About

DynamicTableComponent which works with any salesforce SObject and field configuration along with one level parent field configuration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published