#How can I pass the Table Data to Form

1 messages · Page 1 of 1 (latest)

sharp nymph
#

Scenario: Once I submit the Form Data it will call a MySql Insert Query, all data will be displayed in Table, now i am trying to edit one of the table data by using Form, I am unable to pass table Data(one row) to Form

tall lightBOT
#

Hey There,

We've registered your query, and our team will get back to you soon.

Regards,
Pranav

tall lightBOT
#

Hello! Are you using the JSON
Form
? You should be able
to pass the [selectedRow or
triggeredRow](https://docs.appsmith.com/reference/widgets/table#reference-properties
[https://docs.appsmith.com/reference/widgets/table#reference-properties]) of the
table as source data to the JSON Form to get it automatically generated.
If it does not work, please share a loom.com screen recording showing your
implementation and the error you get.

This page explains how to use a Table widget to display data in tabular format, trigger actions based on user interaction, and work with paginated data sets of any size.

sharp nymph
#

I am using normal form, I can't bind the table data dynamically

#

export default {
setData: () => {
Form1.data.first_name = Table1.triggeredRow.first_name;
}
}

#

export default {
setData: () => {
Form1.data= Table1.triggeredRow;
}
}

#

I have tried both