UI Builder component to show the table with the sum of the column rows in the header
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2024 08:40 AM
Dear Team, I need to build the table in the custom configurable workspace, where in the table header, for the integer or decimal fields, the sum of rows in the specific column is shown. This would be a sort of Excel-style view, something like this (see the screenshot).
I was wondering if this could be achieved with the "Record List" component. I see it's possible to freeze the header, but it's not clear how to enable the sum there. Perhaps there are other ideas on how this can be achieved.
Many thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2025 02:22 AM
Hi @P-Rudenko-SN
I am trying to build the tables with rows and columns which is similar to your issue, could you please share the steps if you have build a table with rows and columns.
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2025 04:17 AM
Hello,
You can achieve it by using client scripts in ui builder
Here are the steps to follow:
1. Use the "Record List" Component.
2. In the Component - > Under the "Config" Tab there is subtitle input (initially it shows last refresdhed information) we will use this.
3. When we selected the "Record List" ui component. A list controller is automatically added to data resources.
This List control stores all the information related to list.
4. By using the information provided we will extract the one field information and sum the all values of it presented in a list page.
5. We will write a client script to sum the values:
Here is the code:
---> When current page updated refresh the data resource:
---> and finally when list is refreshed execute the client script
add last two event to List Controller - Data Resource.
Finally, add the client state parameter to subititle field as shown in first image
RESULT:
