budibase/packages/server/appPackages/testApp2/components/all_contacts Table.json

41 lines
831 B
JSON

{
"name": "all_contacts Table",
"inherits": "@budibase/standard-components/table",
"props": {
"data": {
"##bbstate": "/all_contacts",
"##bbsource": "store"
},
"tableClass": "table table-hover",
"theadClass": "thead-dark",
"columns": [
{
"title": "contacted",
"value": {
"##bbstate": "contacted",
"##bbsource": "context"
}
},
{
"title": "name",
"value": {
"##bbstate": "name",
"##bbsource": "context"
}
}
],
"onRowClick": [
{
"##eventHandlerType": "Set State",
"parameters": {
"path": "selectedrow_all_contacts",
"value": {
"##bbstate": "key",
"##bbsource": "event"
}
}
}
]
}
}