Count for each Day of The Week in FooterCallback? How to get it to Save

Count for each Day of The Week in FooterCallback? How to get it to Save

zgoforthzgoforth Posts: 493Questions: 98Answers: 2
edited July 2021 in DataTables 1.10

Link to test case: https://jsfiddle.net/BeerusDev/gm10rqp7/238/

Hello,

Here is my old DataTable: Which only does by the current day: https://jsfiddle.net/BeerusDev/gm10rqp7/242/ (full functionality until the stupid reqs changed)

Here is my up to date one where I am trying to finish. The last part where the issue is is within my footerCallback function where I apply the total count. The new req is asking that I have the count for everyday of the week under the table for the current week. https://jsfiddle.net/BeerusDev/gm10rqp7/239/

Based off of the method I am using, is it possible to have the totalCount remain there when it is based off of the current day?

Answers

  • zgoforthzgoforth Posts: 493Questions: 98Answers: 2

    Ignore the two fiddles ending in 238 & 239. The 242 is my working current example, then the one attached below is showing what I am trying to do. I can get values to append to the spans, but it isn't anything more than a 0 value for each status, why is that? https://jsfiddle.net/BeerusDev/gm10rqp7/274/

Sign In or Register to comment.