[Lizmap] Sum for selection
Nicolas Boisteault
nboisteault at 3liz.com
Thu Oct 7 06:40:44 PDT 2021
Hi Paolo,
attribute table in Lizmap is based on datatables library.
You'll have to dig in the API and forum to get desired behavior.
Here is a hint I found after a quick search :
https://datatables.net/forums/discussion/38736
Cheers
Le 04/10/2021 à 08:41, Paolo Cavallini a écrit :
> Hi all,
> we would need a function apparently not present in the base functions:
> unce selected a series of features, display not only the data from the
> table, but also the sum for some variables.
> I'm wrapping my head around this, and I cannot find a clean solution.
> I see three main routes:
> * through QGIS expressions (unsure it is feasible)
> * with PostGIS views (how to show only selected?)
> * with JavaScript.
> The last one seems the most promising: am I correct? Any hint on how to
> start?
> Thanks for any suggestion.
> Cheers.
More information about the Lizmap
mailing list