Hey Guys,
Got a scenario here where I want to change the GroupBy on my Scheduler resources.
I want to do this for two reasons:
1. I have resource filters, and when all filters are off, and the scheduler tries to render grouped, empty views, it gives a javascript error.
2. I only want groupby set to my (single) resource when in Day view - I want to turn off for Weekly and Monthly.
Now if I tap into OnNavigationCommand I can set this and it works great - however the "More" link in monthly view does not fire OnNavigationCommand and this leaves grouping turned off when it switches back to Day view.
I guess I have two questions here:
Q1 How can I trap the "more" button and change the GroupBy without causing a "not allowed in data binding phase" error?
and
Q2 Is there a way to suppress the empty-grouped by errors? (If Q1 is answered then I'll simply turn groupBy off when no records present)
thanks
Got a scenario here where I want to change the GroupBy on my Scheduler resources.
I want to do this for two reasons:
1. I have resource filters, and when all filters are off, and the scheduler tries to render grouped, empty views, it gives a javascript error.
2. I only want groupby set to my (single) resource when in Day view - I want to turn off for Weekly and Monthly.
Now if I tap into OnNavigationCommand I can set this and it works great - however the "More" link in monthly view does not fire OnNavigationCommand and this leaves grouping turned off when it switches back to Day view.
I guess I have two questions here:
Q1 How can I trap the "more" button and change the GroupBy without causing a "not allowed in data binding phase" error?
and
Q2 Is there a way to suppress the empty-grouped by errors? (If Q1 is answered then I'll simply turn groupBy off when no records present)
thanks