Home > Blockchain >  How can we display datas according to button clicks in mainpage ....if many filteration method is ap
How can we display datas according to button clicks in mainpage ....if many filteration method is ap

Time:07-03

When someone Logs in first of all i want to show the currentUserData in the table body. then when clicks on "Today" button, table should be show the "todayData"....when clicks on "This Week" button, table should be show the "thisWeekData"....etc....

references

..................

userData = all datas available in database,

todayData = filtered data from "userData" with current day (function calls after clicking "Today" button from main page),

thisWeekData = filtered data from "userData" with current week (function calls after clicking "This Week" button from main page)

thisMonthData = filtered data from "userData" with current Month (function calls after clicking "This Month" button from main page),

customData = filtered data from "userData" between dates (function calls after clicking "Custom" button from main page),

dropDownUserData = filtered data from "userData" (function calls after clicking any user from Drop down menu "Today" available in main page),

currentUserData = displaying datas of users by deviding into pages

      {

        //            
  • Related