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

41 lines
830 B
JSON
Raw Normal View History

2019-10-18 18:32:03 +02:00
{
"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": {
2019-10-19 08:24:20 +02:00
"path": "selectedrow_all_customers",
2019-10-18 18:32:03 +02:00
"value": {
2019-10-19 08:24:20 +02:00
"##bbstate": "key",
"##bbsource": "event"
2019-10-18 18:32:03 +02:00
}
}
}
]
}
}