Table pickers
The user can click on the rows of a TablePicker in order to refresh other components of the page.
Parameters sent to backend
You can refer to the documentation of tables to find how to create TablePickers. You just need to connect it to other components.
When the user clicks on a row, any connected components will be refreshed. The calls to the backend contain as many parameters
as there is columns in the table (hidden or not). Each parameter is named after the column, and its value is the one corresponding
to the clicked row.
Lets see an example:
id | name | age |
---|---|---|
1 | Pierre | 39 |
2 | Paul | 42 |
3 | Jacques | 24 |
When the user clicks on the third row, the following parameters are sent to the backend for each component to be refreshed:
id: 3
name: Jacques
age: 24
Note that parameters are sent even for hidden rows.