Update sum when doing date filter

Update sum when doing date filter

jdiaz11jdiaz11 Posts: 6Questions: 5Answers: 0

I am using datatables in this table I make a sum of a value but with the different monetary symbol where I separate them by symbol and do the sum, up to there it is perfect but when I want to make a filter by dates I want only the data that is added in the table that was done by the date filter which I've been trying but it doesn't work out the way I did with an input
view:
https://jsfiddle.net/JoseDM/kyc45jwf/

Answers

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

    I'm not too clear on the issue, but it looks like you want to move the code in the keyup trigger into draw. When it is in draw, the code will be executed whenever the table is redrawn, i.e. as a result of a filter, an order, or a change in pagination.

    Colin

Sign In or Register to comment.