Change size of Empty Group Node

3 posts, 1 answers
  1. Igor
    Igor avatar
    2 posts
    Member since:
    Jul 2012

    Posted 17 Jul 2012 Link to this post

    Hi. I want to commend you on making OrgChart control, it's a lot of fun to work with.

    We use OrgChart in GroupEnabledBinding with GroupColumnCount=1. Problem is with empty Group Nodes that set default size ignoring set CSS styles.

    How can We set size of empty Group Nodes? In Node Size demo it's shown how to change size of items, but not of empty Nodes.

    Please notice example image in Attachment.

    Thank You on Your help.
  2. Answer
    Ivan Zhekov
    Admin
    Ivan Zhekov avatar
    539 posts

    Posted 17 Jul 2012 Link to this post

    Hello, Igor.

    In the empty group node, there is an empty item that accounts for the dimensions. If you tweak that empty item's dimensions, you'll tweak the size of the empty group:

    .RadOrgChart .rocItem.EmptyItem {
        height: 20px;
    }

    Regards,
    Ivan Zhekov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Igor
    Igor avatar
    2 posts
    Member since:
    Jul 2012

    Posted 18 Jul 2012 Link to this post

    Hello Ivan,
    Thank you on Your prompt replay.

    Works like a charm.
Back to Top