Angular Schedule custom view data binding

Hi,

I hope everything all right in such critical situation.

I am using Angular Scheduler for my Angular 8 Application. I have created my own view of the calendar like this.



Now
1. here I would like to bind data with all view. 
2. I would like to save the calendar view which is active before user leave the page. 
2, On comeback to this page(where i am using schedule) I would like to show calendar view from which user left. 

i.e. if user left page with 12 Monate(12 month) view than on come back user should see 12 Monate(12 Month) view.

Also I would save the month view which we have on left side.

If user select march of 2020. than reload or comeback i would like to show march month.

I am sharing my code here for more understanding.

Please help me ASAP.

Regards, 
Parth

Attachment: calendar.component_82f6265c.zip

3 Replies

BS Balasubramanian Sattanathan Syncfusion Team March 31, 2020 12:54 PM UTC

Hi Parthkumar Kakadiya,  

Greetings from Syncfusion Support.  

We have validated your reported scenario at our end and your requirement is need to set the ’12 Month’ view is selected, when the user comeback from another page to this page or refresh the browser window. We can achieve this scenario by making use of the “isSelected” property and which is used to render the corresponding view as the selected view at initial loading. 

 


Kindly try the above links and let us know if you have any concerns.  

Regards,  
Balasubramanian S 



PK Parthkumar Kakadiya March 31, 2020 01:34 PM UTC

Hi Balasubramanian,

Your solution works for the only one view. I would like to bind not only with 12 Month but with Week, Month, 2 Month, Agenda and day.

And I tried to use isSelected at all other place. I tried to bind through different variable but it's not working:

So again, I want to bind all the view of the schedule.
Also on switch between the view, I would like to call function to save the bind data in database.  

Regards,
Parth


BS Balasubramanian Sattanathan Syncfusion Team April 1, 2020 01:53 PM UTC

Hi Parthkumar Kakadiya, 

Thanks for your reply. 

We have analyzed your requirement at our end, since the requirement is need to set the corresponding view as the selected view when we reload the browser or comeback from another page to this page. We regret to let you know that, this requirement is not feasible according to our Scheduler architecture.  

Please let us know if you any concerns 

Regards, 
Balasubramanian S 


Loader.
Up arrow icon