Would it be possible to show or hide a Resource based upon a date? For example: we have a list of Employees. An Employee has got a StartedWorkingOn and an StoppedWorkingOn datetime. I want to show an Employee only when the current shown date in the scheduler is greather than the StartedWorkingOn-date and smaller than the StoppedWorkingOn date.
- Jan is working at Example BV since 1st of January 2007 and does not have an StoppedWorkingOn date
- Pete, an intern, is working at Example BV since the 1st of June 2009 and will stop working on the 1st of January 2010.
When I click through the scheduler, currently I should always see Jan and Pete together, but when I reach the 1st of January 2010, the scheduler should only show Pete! How can I accomplish this?
We are using client-side
binding, since I do not want my scheduler to give me a postback when I switch days.