load different xml in the different tab of dhtmlx Scheduler

Hi Sir
can any one tell me how to load different xml in different tab of the tree timeline of dhtmlx scheduler?
for example:if i click on day tab then day.xml will be loading and if i click on week tab then week.xml loading?
Is there any way of that.please provide the solution of that
Thanks and Regards
Sumit

You can

a) reload xml when tab switched ( but it is quite expensive as it will reload data after each tab change )

b) use filtering - load all data at once and define which data must be shown in each view
docs.dhtmlx.com/doku.php?id=dhtm … filtration

Hi sir
Have any working example of that ?

Have any working example of the reload xml on each tab?

scheduler.attachEvent("onViewChange", function(){
    scheduler.clearAll();
    scheduler.load("some.php");
});