Sum values of selected rows

Sum values of selected rows

ludwigmludwigm Posts: 12Questions: 8Answers: 1
edited March 2022 in Select

Hi,
I would like to sum the values of one column of the selected rows. The sum should be added in brackets in language.select.rows . How can I do this in the most efficient way?
Otherwise I would do this manually with jQuery and find the element by the find() method...

Answers

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    You can't in language.select.rows, as that only accepts strings or an array, not a function - but you can do something like this where the string is over-written,

    Colin

Sign In or Register to comment.