Filter Groups by Date Grouping Only

2 posts, 0 answers
  1. Fletcher Aluminium
    Fletcher Aluminium avatar
    18 posts
    Member since:
    Jun 2010

    Posted 08 Apr 2015 Link to this post

    Hi,

     

    Information: I am currently using version 2014.2.729.45 of the Telerik WPF Controls suite.  I am wondering if the following is possible:

     

    Problem: Within two groups (date and venue) am I able to filter only venues within each date block that have appointments on them?

     

    Details:

    I have currently using two groupings for my Day and Week view definitions, they are as follows:

    <telerik:RadScheduleView.GroupDescriptionsSource>
        <telerik:GroupDescriptionCollection>
            <telerik:DateGroupDescription />
            <telerik:ResourceGroupDescription ResourceType="Venue" ShowNullGroup="False" />
        </telerik:GroupDescriptionCollection>
    </telerik:RadScheduleView.GroupDescriptionsSource>

    This could look like:

    Monday

         Venue 1

         Venue 2

         Venue 3

     

    Tuesday

         Venue 1

         Venue 2

         Venue 3

     

    Wednesday

        Venue 1     

        Venue 2 

        Venue 3

     

    I have tried using the Group Filter property against the view definitions to achieve the required result I am after.  However, it appears that it takes all three days, works out which venues have appointments in them, and then shows them all days, irrespective of whether or not a particular day does in fact have something in that venue.

     

    The result I would like to see is:

    Monday

         Venue 3

     Tuesday

         Venue 1

    Wednesday

        Venue 1

        Venue 3

     

    The reason for this, is because the particular venues in questions, only have appointments on those days.  and Venue 1 and 2 on Monday are empty the entire day and so I do not want to display them.  Is there a setting I am missing for hide empty resources?

     

    Is this possible?

     

     

    Kind Regards,

     

    Shaun

  2. Nasko
    Admin
    Nasko avatar
    585 posts

    Posted 09 Apr 2015 Link to this post

    Hello Shaun,

    We are afraid that RadScheduleView does not support the desired filtering of the Resources with its current implementation - there isn't any proper approach that we could suggest you in order to achieve the desired.

    Hopes this information will help you. If you have any additional questions do not hesitate to contact us.

    Regards,
    Nasko
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top