Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82358

Recalculate column when ordering

$
0
0

Hi Everyone,
I have a problem updating calculated column when ordering.
My HTML is composed from :
an Input text
a table with (3) three columns, titled respectively , column1, column2, column3.
the value of column3 in each row will be: the input text value from witch I subtract the sum of column2 value in all previous rows including the current row.
My issue is : when I order my table, let's say based on column1, I want to update column3 following the same logic as described above. the values in column3 aren't calculated as they should.
this is my JsFiddle to reproduce the case : https://jsfiddle.net/rgzk097b/62/.
Any suggestions!
Thanks.


Viewing all articles
Browse latest Browse all 82358

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>