Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
How would I configure grid calculations. I have an order form with Quantity and Cost and would like to do the math to get the total per row. That said, I would also like to get the total of all total columns for a grand total. Looking at the code, it looks like the ids are random as you add/remove rows.
4 Comments
Hugo
Hey there,
Just a suggestion. You can make use of custom html element instead and compose all the grid that you want and with javascript, you can get the total computed as well. Try to look into these area. Good luck!
Hugo
Doug Admin
Thanks for the suggestion. I have created a custom HTML form. How do I pass the variables into Joget so that the custom HTML data is saved in the same database as the rest of the form data? Can you provide an example.
Thanks.
Hugo
Hi,
Just normal html tags will do. Joget will handle all the columns creation and storing multiple fields' data by itself unless you are creating the form entirely by yourself.
Example:
Hope it helps!
Hugo
And here's how the stored data and automatically created column would look like.
Hope it helps!