in month view how can i change date picker property

I want to display Date picker in Month view. Who Display Dates but It displays only Months and year now I want to change its property how can I change. 

I want to date like this in Month View:-
https://ibb.co/qytWm3r

But It Displays Like this:-
https://ibb.co/JrwJ1s2

1 Reply

VD Vinitha Devi Murugan Syncfusion Team December 2, 2019 11:32 AM UTC

Hi Harsh, 
 
Syncfusion Greetings. 
 
We achieved your requirement by making use of actionComplete event of our scheduler and same can be available in below link. 
 

  onActionComplete(args) { 
    if (this.scheduleObj.currentView === "Month") { 
      (this.scheduleObj.element.querySelectorAll('.e-schedule-toolbar .e-date-range')[0] as any).click(); 
      var calendar = (this.scheduleObj.element.querySelectorAll('.e-header-calendar')[0] as any).ej2_instances[0]; 
      // To show the dates instead of month in month view 
      calendar.deth = "Month"; 
      calendar.start = "Month"; 
      (this.scheduleObj.element.querySelectorAll('.e-schedule-toolbar .e-date-range')[0] as any).click(); 
    } 


Regards, 
M.Vinitha devi 


Loader.
Up arrow icon