I'd start with reverse-engineering http://code.google.com/p/simile-widgets/source/browse/exhibit/trunk/src/webapp/api/scripts/ui/widgets/collection-summary-widget.js .
Axel 2011/8/24 Andrea Borruso <[email protected]> > Hi all, > I'm sure this a simple task, but I do not find a solution. > > I would like to add in the header of my exhibit html file, the results sum > for a specified numeric field. What kind of object I must add? > I know there is "add" function, but I do not know how to write the snippe > of code necessary to view the sum of field values for all filtered records. > > Thank you, > > a > > -- > You received this message because you are subscribed to the Google Groups > "SIMILE Widgets" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/simile-widgets/-/nG_MZaKeQd4J. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/simile-widgets?hl=en. > -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
