In this example we will see how to use the button grouping in the application toolbar.
![](https://www.scriptcase.net/tutorials/wordpress/wp-content/uploads/2020/11/07_field_acumulated-1024x457.png)
Creating a new grid
1. Create a new grid application using the “Customer” table.
![](https://www.scriptcase.net/tutorials/wordpress/wp-content/uploads/2020/11/01_field_acumulated.png)
2. Select the CustomerID, CompanyName, ContactName, ContactTitle, BirthDate, Country and CreditLimit fields. To select the fields, click Field Positioning located in the application menu.
![](https://www.scriptcase.net/tutorials/wordpress/wp-content/uploads/2020/11/02_field_acumulated-1024x462.png)
3. In the application menu, open the Fields folder and click on the New field item.
![](https://www.scriptcase.net/tutorials/wordpress/wp-content/uploads/2020/11/04_field_acumulated.png)
4. We will create a field called “Accumulated” of the “decimal” type.
![](https://www.scriptcase.net/tutorials/wordpress/wp-content/uploads/2020/11/05_field_acumulated.png)
5. In the field configuration, use the “Accumulated” option and select the “CreditLimit” field in “Accumulator field“.
![](https://www.scriptcase.net/tutorials/wordpress/wp-content/uploads/2020/11/06_field_acumulated.png)
6. Click on “Run application“.
To see more examples created with Scriptcase, go to: Examples: Complete systems and applications with Scriptcase
Comment this post