Group Header Styling

9 posts, 0 answers
  1. Joel
    Joel avatar
    41 posts
    Member since:
    Nov 2010

    Posted 06 Jun 2011 Link to this post

    3 questions:

    How would I style a vertical group header so that the label is centered?  Extending the style using something like this, but setting Vertical/Horizontal alignment to centered produces some fairly Picasso-ish results.

    <telerik:OrientedGroupHeaderStyleSelector x:Key="GroupHeaderStyleSelector">
                <telerik:OrientedGroupHeaderStyleSelector.VerticalBottomLevelStyle>
                    <Style TargetType="telerik:GroupHeader">
                        <Style.BasedOn>
                            <Style TargetType="telerik:GroupHeader">
                                <Setter Property="Foreground" Value="Red"/>
                                <Setter Property="FontStyle" Value="Italic"/>
                                <Setter Property="VerticalAlignment" Value="Center"/>
                            </Style>
                        </Style.BasedOn>
                    </Style>
                </telerik:OrientedGroupHeaderStyleSelector.VerticalBottomLevelStyle>
            </telerik:OrientedGroupHeaderStyleSelector>

    Is it possible to keep the top 2 levels of the group header rotated by 90 degrees (as the attached image shows), but leave the bottom header horizontal?

    Say resource Tom uses R102, R203 and R406, but the next resource, Peter, doesn't.  Is there a way to selectively make subgroups visible?
  2. Pana
    Admin
    Pana avatar
    748 posts

    Posted 08 Jun 2011 Link to this post

    Hello Joel,

    To center vertically a TextBlock in a LayoutTransformControl that rotates the layout by -90 degrees you can simply set HorizontalAlignment="Center" on the TextBlock.

    Using a custom ScheduleViewDataTemplateSelector set for the GroupHeaderContentTemplateSelector of the RadScheduleView you can switch templates based on the level and data passed in the schedule view.

    You can not remove some of the bottom level resources. The feature you desire is a tree view grouping thing that we have plans to impement in future but currently do not support.

    Please for more information check the attached project.

    Regards,
    Pana
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
  4. Joel
    Joel avatar
    41 posts
    Member since:
    Nov 2010

    Posted 08 Jun 2011 Link to this post

    Thanks for the great example project!

    Is the Tree View Grouping in the works for Q2 2011?  Is it in the PITS system somewhere so I can track it?

    Thanks again!
  5. Pana
    Admin
    Pana avatar
    748 posts

    Posted 08 Jun 2011 Link to this post

    Hello Joel,

    The feature will not be ready for Q2. It should be available by the end of the year. This is commonly requested feature so we are sure we will implemented. Unfortunately it will require a lot of work so it will take some time.

    Kind regards,
    Pana
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  6. Richardsonke
    Richardsonke avatar
    93 posts
    Member since:
    Jul 2007

    Posted 20 Dec 2011 Link to this post

    I guess the tree-view style grouping did not make it in Q3?  Is this on the roadmap for Q1 2012?  Thanks.

    -Keith
  7. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 20 Dec 2011 Link to this post

    We are currently working on a Gantt control, that is expected to be released as an early beta with Q1 2012 and RTM in Q2 2012. It will support hierarchy. Our plans for now are to make the Gantt to support only specific set of features for displaying and editing Work Breakdown Structure (e.g. project management stuff like Microsoft Project). Later we will upgrade RadScheduleView with the technology from the Gantt (or probably we will create a new control in order to keep the API compatibility) to support the more complex scenarios that represent hierarchical schedules.

    Regards,
    Valeri Hristov
    the Telerik team

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

  8. Richardsonke
    Richardsonke avatar
    93 posts
    Member since:
    Jul 2007

    Posted 20 Dec 2011 Link to this post

    So I guess I should not expect this in the RadScheduleView any time soon?

    -Keith
  9. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 20 Dec 2011 Link to this post

    Officially - not before Q2 2012 in the mid summer.

    However, the work on the Gantt is progressing very well so far and I guess that we may be able to release a CTP version of an upgraded schedule control that supports hierarchy well before Q2, probably near the end of April or May.

    Greetings,
    Valeri Hristov
    the Telerik team

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

  10. Richardsonke
    Richardsonke avatar
    93 posts
    Member since:
    Jul 2007

    Posted 20 Dec 2011 Link to this post

    Thanks for the details.  I'll keep my eye out for a possible CTP.

    -Keith
Back to Top
DevCraft banner