{{ProductsTable.selectedRow.productName}}
.ProductsTable.selectedRow
, which has all the column values of the selected row. By referencing productName
on it, you're accessing the value of productName column. By setting Default Text to this, you're pre-filling the form with this value.selectedRow
property. To see the exposed properties you can access for any given widget, check the Properties section of its entry in the Widget documentation.ProductsTable.selectedRow
can be accessed only in other widgets, queries, and APIs of ProductListPage. ProductsTable.selectedRow
can't be accessed from any widget, query, or API of AddProductPage.{{ProductsTable.selectedRow.mrp}}
.{{ProductsTable.selectedRow.category}}
.https://mock-api.appsmith.com/products/{{ProductsTable.selectedRow.id}}
.{{<widgetname>.<property_name>}}
no matter where you are in the editor.ProductsQuery.run()
.run()
method above is an anonymous JavaScript function that triggers two actions in the onSuccess case of onClick: