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

GroupColumnCount does not work when databound

8 Answers 176 Views
OrgChart
This is a migrated thread and some comments may be shown as answers.
Espen Fosshaug
Top achievements
Rank 1
Espen Fosshaug asked on 17 Nov 2011, 09:15 AM

Hi. Just got the new OrgChart. A component I have been looking forward to.
I used my userdatabase with managers as datasource and the chart was drawn :-)
But, the GroupColumnCount does not have any affect. The chart is 34000px wide, with all users on the same level on one row.
I hope this can be fixed, because I need this in a lot of scenarios.


Thanks
Espen

8 Answers, 1 is accepted

Sort by
0
Nikolay Tsenkov
Telerik team
answered on 17 Nov 2011, 12:22 PM
Hello Espen,

Thank you for reporting this problem to our team.
I have logged it and once we are ready, we will notify you in this same thread.

As a small act of gratitude, I have updated telerik points.

Please, accept our sincere apologies for any inconvenience caused.

Regards,
Nikolay Tsenkov
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
Espen Fosshaug
Top achievements
Rank 1
answered on 17 Nov 2011, 01:09 PM
Thank you :-)

Espen
0
Nikolay Tsenkov
Telerik team
answered on 23 Nov 2011, 04:17 PM
Hi Espen,

It appears that the problem doesn't actually reproduce.
We have started working on the issue, but it doesn't reproduce.

I guess that we both made the same mistake - use Column Count in scenarios different from Group-Enabled Binding or statically declared OrgChart with no groups.

Column Count works only for breaking the GroupItems on multiple lines, but if they are within the same Node.

Here is a nice article explaining the relationship between Nodes and GroupItems: http://www.telerik.com/help/aspnet-ajax/radorgchart-nodes-and-items.html

And here is an article specifically for Column Count: http://www.telerik.com/help/aspnet-ajax/radorgchart-column-count.html

Finally, we have a demo page as well: http://demos.telerik.com/aspnet-ajax/orgchart/examples/columncount/defaultcs.aspx

We hope that you will enjoy using our new control.

Regards,
Nikolay Tsenkov
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
Espen Fosshaug
Top achievements
Rank 1
answered on 23 Nov 2011, 09:15 PM
Hi Nikolay.

I have read through all demos and samples before I contacted you.
I think I understand what you mean - but it would be nice if it could be fixed for database scenarios as well.
Statically defined components is nice for demo, but I can't think of any situation where I would use this in real life applications.

I guess a lot of people would like to use this to draw their companies organization. One leader on top, some subleaders and then a lot of employees. In this situation the chart will allways be useless wide. 
If the lowest level could be set to columncount it would help a lot.

Or is there any other way I could do this?

Espen

0
Nikolay Tsenkov
Telerik team
answered on 24 Nov 2011, 12:07 PM
Hi Espen,

It works in binding scenarios. But there should be groups, in order to break their content in multiple lines.
When Simple Binding is used, there are no groups (see Nodes and Items), therefore GroupColumnCount can't be used.

If a Node has only one GroupItem (this is the case in Simple Binding), this single item is all the content of a single group.

I hope this explains it better.

Having the ability to make the OrgChart's presentation more compact in Simple Binding scenarios is something that we are currently thinking about.

Regards,
Nikolay Tsenkov
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
Vijaianand
Top achievements
Rank 1
answered on 27 Dec 2011, 05:20 PM
I am facing the same issue and checked out all the replies. So you are saying, a databind without grouping doesn't allow the GroupColumncount property to work. Is that I am understanding from explanation? A straightforward hierarchy structure cannot be grouped?!! Also I am using code databind, is the groupcolumncount work with this data bind?

Please clarify.
0
Bozhidar
Telerik team
answered on 29 Dec 2011, 12:15 PM
Hi,

As the name of the property GroupColumnCount suggests, Group Enabled Binding should be used, in order for it to apply.

Regards,
Bozhidar
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
Gabriele
Top achievements
Rank 1
answered on 04 Apr 2014, 03:13 PM
Same problem here, any fix on the horizon?

Thanks!
Robot B9
Top achievements
Rank 2
commented on 14 Jun 2022, 07:28 PM

This simple binding without column tiering is still a must have. The group binding just doesn't show the direct reports chain. It doesn't indicate who in the group is the manager/supervisor for the sub-group.
We also have many case scenarios where many reports on a project are under a single node that generates a very wide and unusable chart layout. It seems that with simple binding all those that do not have sub-reports/nodes could be programmatically added in a columnized group.
Please, see my attached diagram. I think this would be a wonderful opportunity to leverage AI.
Tags
OrgChart
Asked by
Espen Fosshaug
Top achievements
Rank 1
Answers by
Nikolay Tsenkov
Telerik team
Espen Fosshaug
Top achievements
Rank 1
Vijaianand
Top achievements
Rank 1
Bozhidar
Telerik team
Gabriele
Top achievements
Rank 1
Share this question
or