Get all appointments per resource

2 posts, 0 answers
  1. Philipp
    Philipp avatar
    17 posts
    Member since:
    Jun 2011

    Posted 06 Jan 2012 Link to this post

    Hi there

    I'm grouping appointments on a day view by employees (EmployeeResource) so I see all the employee's appointments for the day on a column. Now, in the header template, I would like to show a total of hours already assigned (basically the sum of appointments durations.

    The dirty version would be to provide such a total as a property of the EmployeeResource and update my resources on all edited/created/deleted events. However, I'm hoping there's a more elegant approach to this.

    Thanks for your advice
  2. Yana
    Yana avatar
    4604 posts

    Posted 11 Jan 2012 Link to this post

    Hi Philipp,

    I am afraid that currently the described approach ( adding a total to EmployeeResource and updating it in the events) is the only way to implement the requirement.

    We are sorry for the inconvenience and if you have any issues with the approach, contact us again.

    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top