Column sum() by data attribute

Column sum() by data attribute

kingurukinguru Posts: 7Questions: 3Answers: 0
edited December 2016 in Free community support

Hi All,
I'm using a plugin sum() to get sum of all decimal values in a column.
But column is HTML formatted: the value is wrapped with an anchor <a href...
How I could get a clean decimal sum, for example by data-order attribute values which is also there for right sorting.

Example:
<td data-order="100"><a href="/action/id/120">100</a></td>

Actual:
Sum = 120100

Expected
Sum = 100

Thank you.

This discussion has been closed.