You need to sign in to do that
Don't have an account?
Add/Remove Records using Lightning Web Components
Hi All,
Add/Remove Records using LWC.
If any one want to create Add/Remove multiple records in lightning web component dynamically then please refer this post.
Features:
1. Add rows using plus( + ) button.
2. Dynamic Add/Remove record row.
3. Proper Serial Number in table. For each index starts from 1.
4. Clear All Feature.
5. Save button label change button.
6. Toast Message after record succesfully inserted.
Refer the code in below post...
Like this Post if it's helps to any one !!!
Thanks,
Maharajan.C
Add/Remove Records using LWC.
If any one want to create Add/Remove multiple records in lightning web component dynamically then please refer this post.
Features:
1. Add rows using plus( + ) button.
2. Dynamic Add/Remove record row.
3. Proper Serial Number in table. For each index starts from 1.
4. Clear All Feature.
5. Save button label change button.
6. Toast Message after record succesfully inserted.
Refer the code in below post...
Like this Post if it's helps to any one !!!
Thanks,
Maharajan.C
Component 1:
addDeleteRowDynamicComponent.html
addDeleteRowDynamicComponent.js
addDeleteRowDynamicComponent.js-meta.xml:
Component 2: Using only for generating serial no:
serialNumberComp.html
serialNumberComp.js
Like this Post if it's helps to any one !!!
Thanks,
Maharajan.C
Finan Output Will be like below:
Thanks,
Maharajan.C