You need to sign in to do that
Don't have an account?
Matthew Harris 40
Lightning Component Table with Input Fields
I'm attempting to create a lightning component that displays a table that takes the input of 3 values (All of which are text fields) and adds them to said table.
I've seen examples online of components featuring tables populated with pre-existing data (such as https://sfdcmonkey.com/2017/02/20/custom-sorting-lightning-component/ or https://developer.salesforce.com/docs/component-library/bundle/lightning:datatable/example) but none with blank tables that are then populated with user-inputted data.
Are there any resources that someone could recommend? I'm very new and this is my first time interacting with aura components.
I've seen examples online of components featuring tables populated with pre-existing data (such as https://sfdcmonkey.com/2017/02/20/custom-sorting-lightning-component/ or https://developer.salesforce.com/docs/component-library/bundle/lightning:datatable/example) but none with blank tables that are then populated with user-inputted data.
Are there any resources that someone could recommend? I'm very new and this is my first time interacting with aura components.
I believe your requirement is to capture inputs via form.
If so, the pseudo-code mentioned in https://datatables.net/examples/api/form.html would help.
Related: https://salesforce.stackexchange.com/questions/284549/lwc-form-data-not-updating-to-apex-controller
Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful. Thank you