Show start date value for print viewer
Show start date value for print viewer
Hi everyone.
I have a small problem here.
scenario:
Before user click button print, user need to choose start date then click button print. Inside my code I have variable to hold value start date [ startDate ]. I want to put the startDate value inside print viewer under title ' Cash Sale '.
Basically this is my print button code:
buttons: [
{ extend: 'print', className: 'btn dark btn-outline', title: "Cash Sale" }
]
can see picture below to see the print viewer
hope anyone can help me.
thanks !