function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Matthew Harris 40Matthew 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.
SwethaSwetha (Salesforce Developers) 
HI Matthew,

I believe your requirement is to capture inputs via form.

User-added imageIf 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