GroupColumnCount does not work when databound

9 posts, 0 answers
  1. Espen Fosshaug
    Espen Fosshaug avatar
    18 posts
    Member since:
    Sep 2009

    Posted 17 Nov 2011 Link to this post


    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
  2. Nikolay Tsenkov
    Admin
    Nikolay Tsenkov avatar
    734 posts

    Posted 17 Nov 2011 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Espen Fosshaug
    Espen Fosshaug avatar
    18 posts
    Member since:
    Sep 2009

    Posted 17 Nov 2011 Link to this post

    Thank you :-)

    Espen
  5. Nikolay Tsenkov
    Admin
    Nikolay Tsenkov avatar
    734 posts

    Posted 23 Nov 2011 Link to this post

    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
  6. Espen Fosshaug
    Espen Fosshaug avatar
    18 posts
    Member since:
    Sep 2009

    Posted 23 Nov 2011 Link to this post

    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

  7. Nikolay Tsenkov
    Admin
    Nikolay Tsenkov avatar
    734 posts

    Posted 24 Nov 2011 Link to this post

    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
  8. Vijaianand
    Vijaianand avatar
    82 posts
    Member since:
    Jul 2012

    Posted 27 Dec 2011 Link to this post

    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.
  9. Bozhidar
    Admin
    Bozhidar avatar
    1101 posts

    Posted 29 Dec 2011 Link to this post

    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
  10. Gabriele
    Gabriele avatar
    14 posts
    Member since:
    Oct 2010

    Posted 04 Apr 2014 Link to this post

    Same problem here, any fix on the horizon?

    Thanks!
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017