Recalculate a column after search input
Recalculate a column after search input
sm1l3y
Posts: 24Questions: 7Answers: 0
Ok here is what I am trying to achieve...
Basically after you search for something and the results filter out, I need a column's value to change based on a formula. The grand total works fine and updates as the results change, but how can I do similar with a column that has its values calculated based off another column?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Possibly the
drawCallback
may work for you. In the callback you can write your function to recalculate the column total after every search.Kevin
Thank you, I will look into trying that
I have successfully done the required calculations to the data using drawCallback. However at the moment I cannot find a good example for editing the column html inside this call.