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

Change size of Empty Group Node

2 Answers 67 Views
OrgChart
This is a migrated thread and some comments may be shown as answers.
Igor
Top achievements
Rank 1
Igor asked on 17 Jul 2012, 09:19 AM
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 Answers, 1 is accepted

Sort by
0
Accepted
Ivan Zhekov
Telerik team
answered on 17 Jul 2012, 03:13 PM
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.
0
Igor
Top achievements
Rank 1
answered on 18 Jul 2012, 07:12 AM
Hello Ivan,
Thank you on Your prompt replay.

Works like a charm.
Tags
OrgChart
Asked by
Igor
Top achievements
Rank 1
Answers by
Ivan Zhekov
Telerik team
Igor
Top achievements
Rank 1
Share this question
or