×
Menu
Index

2.4.3. tabgrid / modaltabgrid

 
If a grid will be the parent of a tabform, a form with multiple tabpages, you need to start it as a tabgrid. This way BOA will ask all the information to create the different tabpages of your form.
 
{
"title": "Customers.",
"endpoint": "/tabfiles/klant",
"pagetype": "tabgrid",
"hidefilter": "0",
"position": "top",
"icon": "/",
"id": "klanten",
"buttons": [
"add",
"edit",
"delete",
"exit",
"print",
"export"
],
"onclick": {
"endpoint": "/tabfiles/klant/form",
"pagetype": "tabform",
"buttons": [
"delete",
"add",
"save",
"list",
"previous",
"next",
"exit"
]
}
 
By using the tabgrid and a tabform as pagetype for the onclick action, BOA will change the behaviour when you click in the grid. It will ask all the info to create the different tabpages. Each tab will behave as a form.