This is a migrated thread and some comments may be shown as answers.

Group Header Styling

8 Answers 94 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Joel
Top achievements
Rank 1
Joel asked on 06 Jun 2011, 08:59 PM
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?

8 Answers, 1 is accepted

Sort by
0
Pana
Telerik team
answered on 08 Jun 2011, 02:05 PM
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
0
Joel
Top achievements
Rank 1
answered on 08 Jun 2011, 04:11 PM
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!
0
Pana
Telerik team
answered on 08 Jun 2011, 04:16 PM
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
0
Richardsonke
Top achievements
Rank 1
answered on 20 Dec 2011, 05:28 PM
I guess the tree-view style grouping did not make it in Q3?  Is this on the roadmap for Q1 2012?  Thanks.

-Keith
0
Valeri Hristov
Telerik team
answered on 20 Dec 2011, 05:59 PM
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 >>

0
Richardsonke
Top achievements
Rank 1
answered on 20 Dec 2011, 06:02 PM
So I guess I should not expect this in the RadScheduleView any time soon?

-Keith
0
Valeri Hristov
Telerik team
answered on 20 Dec 2011, 06:11 PM
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 >>

0
Richardsonke
Top achievements
Rank 1
answered on 20 Dec 2011, 06:13 PM
Thanks for the details.  I'll keep my eye out for a possible CTP.

-Keith
Tags
ScheduleView
Asked by
Joel
Top achievements
Rank 1
Answers by
Pana
Telerik team
Joel
Top achievements
Rank 1
Richardsonke
Top achievements
Rank 1
Valeri Hristov
Telerik team
Share this question
or