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

41 lines
830 B
JSON

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