1CRM / oceanfront

Oceanfront UI framework development
https://1crm.github.io/oceanfront/
MIT License
0 stars 4 forks source link

Data Table: Add support of sum_total attribute and show Total row if needed #359

Closed alexivanenko closed 4 months ago

alexivanenko commented 10 months ago

If a column field has "sum_total: true," we need to calculate the total value for this column. If there are any columns with the "sum_total" attribute, the Total line should be displayed at the bottom of the table. Total field might be compound - user can create custom column in ListView which will consist of two fields, on Alex's design you can see an example of a total of two sums.

In app-js it should respect design from @AlexLukasevych https://www.figma.com/design/pM6XP1QOM2VCQO1HG3OadN/In-line-editing%3A-ListView%3A-Show-a-%E2%80%98total%E2%80%99-amount?node-id=24-2037

Снимок экрана 2024-01-08 в 16 51 09