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

Width problem in resource grouping

10 Answers 142 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
hardik
Top achievements
Rank 1
hardik asked on 15 Apr 2011, 10:29 AM
Hi Telerik,

I am facing the problem with resource grouping. Width of resource is not shown properly. See the image.

Thanks
Hardik

10 Answers, 1 is accepted

Sort by
0
Valeri Hristov
Telerik team
answered on 15 Apr 2011, 12:24 PM
Hi hardik,

The header widths are proportional on the desired width of their content. As far as I can see, the content of the two headers is different, hence the different widths of the headers. We will change this behavior in the near future to allow equal header widths, but at the moment there is no simple workaround.

All the best,
Valeri Hristov
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
hardik
Top achievements
Rank 1
answered on 16 May 2011, 09:38 AM
Thanks,

AS you say no simple workaround for that.  I can compromise for that.

I will show resource name with fix character e.g 20.. So if resource name length more than that I will show it with three ... followed by 20 character.

I have set display name to like that, but Its not working. even though I can see the update value of displayname in debug time. But after run the application it shows it with long name only. I try to set resourcename also but same result. No change.

Can you send me sample application where resource name change dynamically.?
I done all binding from XAML.

Thanks
Hardik
0
Yana
Telerik team
answered on 20 May 2011, 10:10 AM
Hello hardik,

You can bind the resource types of the ScheduleView to a property in the ViewModel class  - in this way the DisplayName of the resources can be updated without a problem. Please check the following link for more details: http://www.telerik.com/help/silverlight/radscheduleview-populating-with-data-implementing-view-model.html

All the best,
Yana
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
Ingrid
Top achievements
Rank 1
answered on 15 Jul 2011, 01:35 PM
Hello,

Will equal header widths be included in the Q2 release?

Best regards,
Jeffrey
0
Valeri Hristov
Telerik team
answered on 15 Jul 2011, 01:45 PM
Hi Ingrid,

The Q2 already contains uniform width distribution, you can check how it works here:
http://demos.telerik.com/silverlight/#ScheduleView/ContextMenu

Kind regards,
Valeri Hristov
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
Hardik
Top achievements
Rank 1
answered on 10 Aug 2011, 07:56 AM
With new build also I am getting different width. See attached Image.

Isn't it possible to set the width same as maximum width in all resources.?

Thanks
H@rdik Pancholi
0
Hardik
Top achievements
Rank 1
answered on 24 Aug 2011, 12:27 PM
Telerik,

Where are you? Its 14 days of post.. I am not getting any reply...

Thanks
H@rdik Pancholi
0
Yana
Telerik team
answered on 29 Aug 2011, 11:41 AM
Hello Hardik,

Thank you for providing the screenshots.

There is really an issue with the width of the resource columns, we'll research it but most probably the fix will not be included in the service pack.

As a workaround, I would suggest to change the grouping like this (set DateGroupDescription first):

<telerik:RadScheduleView.GroupDescriptionsSource>
    <telerik:GroupDescriptionCollection>
        <telerik:DateGroupDescription />
        <telerik:ResourceGroupDescription ResourceType="Category" />                 
    </telerik:GroupDescriptionCollection>
</telerik:RadScheduleView.GroupDescriptionsSource>

in this way, the width of all the columns should be equal.

The other option is to set Width to the GroupHeaders using GroupHeaderStyleSelector, the approach is demonstrated here.

We're sorry for the caused inconvenience.

Greetings,
Yana
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

0
Rey Limo
Top achievements
Rank 2
answered on 21 Nov 2014, 08:15 AM
Hi, is there a possible way to make the textblock in resourcegroup header wrap? please see attached file.
0
Yana
Telerik team
answered on 25 Nov 2014, 01:46 PM
Hi Rey,

You could modify the templates inside the GroupHeaders as explained in the Templating the GroupHeaders and add the wrapping of the text there.

Hope this will be helpful.

Regards,
Yana
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
ScheduleView
Asked by
hardik
Top achievements
Rank 1
Answers by
Valeri Hristov
Telerik team
hardik
Top achievements
Rank 1
Yana
Telerik team
Ingrid
Top achievements
Rank 1
Hardik
Top achievements
Rank 1
Rey Limo
Top achievements
Rank 2
Share this question
or