|
Re: Aggregating columns in a table according to a different algorithm than the one built-in [message #1820763 is a reply to message #1820709] |
Tue, 28 January 2020 13:31 |
|
Hi Krzysztof
In my opinion there's no simple method to extend the aggregations provided by Scout. Of course you could try to extend the Scout framework-code, but it looks like this part is not built with extensibility in mind. The relevant code is found in NumberColumn.js and aggregation.js but you would also need to change Java code. So you'd basically have to fork the Scout RT or find a clever way to override or replace existing classes with your own code.
In our own business applications built with Scout we use the built-in aggregations primarily for simple ad-hoc data analysis configured and performed by the user in the UI. For other statistical data requirements we have a separate "reports" outline that creates reports and exports data on the server-side, where you can aggregate the data any way you want. This approach has the advantage it can deal with a lot of data too. The UI is much more limited in how many table-rows it can handle, usually it does not make sense to load thousands of rows into the browser.
Cheers,
André
Eclipse Scout Homepage | Documentation | GitHub
|
|
|
|
Powered by
FUDForum. Page generated in 0.03445 seconds