Width problem in resource grouping

11 posts, 0 answers
  1. hardik
    hardik avatar
    57 posts
    Member since:
    Feb 2011

    Posted 15 Apr 2011 Link to this post

    Hi Telerik,

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

    Thanks
    Hardik
  2. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 15 Apr 2011 Link to this post

    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
  3. DevCraft banner
  4. hardik
    hardik avatar
    57 posts
    Member since:
    Feb 2011

    Posted 16 May 2011 Link to this post

    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
  5. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 20 May 2011 Link to this post

    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
  6. Ingrid
    Ingrid avatar
    4 posts
    Member since:
    May 2011

    Posted 15 Jul 2011 Link to this post

    Hello,

    Will equal header widths be included in the Q2 release?

    Best regards,
    Jeffrey
  7. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 15 Jul 2011 Link to this post

    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!

  8. Hardik
    Hardik avatar
    61 posts
    Member since:
    Jun 2011

    Posted 10 Aug 2011 Link to this post

    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
  9. Hardik
    Hardik avatar
    61 posts
    Member since:
    Jun 2011

    Posted 24 Aug 2011 Link to this post

    Telerik,

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

    Thanks
    H@rdik Pancholi
  10. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 29 Aug 2011 Link to this post

    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 >>

  11. Rey Limo
    Rey Limo avatar
    1 posts
    Member since:
    Sep 2014

    Posted 21 Nov 2014 in reply to Valeri Hristov Link to this post

    Hi, is there a possible way to make the textblock in resourcegroup header wrap? please see attached file.
  12. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 25 Nov 2014 Link to this post

    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.

     
Back to Top
DevCraft banner