If the modal window gets closed at any point, you can access it again in the editor by looking in the Explorer pane to the left of the screen, finding it in the Widgets tree, and clicking its name to open it back up.
{{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 Internal Properties section of its entry in the Widget Reference guide.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}}
.PUT https://mock-api.appsmith.com/products/:id
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: