You need to sign in to do that
Don't have an account?
SFDC@Error
Add dynamic rows in Lightning custom Component
Hi Friends
Need to create a component for dynamically Add/Delete the row uisng lightining Component.I have already designed this uisng VF page .So how to develop same in lighting component....
Need to create a component for dynamically Add/Delete the row uisng lightining Component.I have already designed this uisng VF page .So how to develop same in lighting component....
Below is the sample code.
ContactList.cmp: ContactListController.js: ContactListItem.cmp : ContactListItemController.js: deleteContactEvt.evt (Component Level Event) : ApexController : Hope this helps.
Please mark this post as solved by marking the best answer if it's resolved so that it gets removed from the unanswered queue which results in helping others who are encountering a similar issue.
Thanks,
Nagendra
http://salesforcecodes.com/dynamic-add-or-remove-rows-using-lightning-component/ (http://salesforcecodes.com/dynamic-add-or-remove-rows-using-lightning-component/" target="_blank)
Here we have shown Inserting multiple records using Add Or Remove Row functionality in Lightning Component.
If at all Account Name is empty, error message will be displayed in alert message.