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

Changing cell style in NodeDataBound event

3 Answers 78 Views
OrgChart
This is a migrated thread and some comments may be shown as answers.
Ph
Top achievements
Rank 1
Ph asked on 13 Dec 2011, 07:03 AM
Protected Sub RadOrgChart1_NodeDataBound(ByVal sender As Object, ByVal e As Telerik.Web.UI.OrgChartNodeDataBoundEventArguments) Handles RadOrgChart1.NodeDataBound
        If e.Node.DataItem.IsDeptHead Then
            e.Node.CssClass = "DeptHead"  <---------- I want to do something like this or just change the cell's background or border color, is there a way to do so???
        End If
    End Sub

3 Answers, 1 is accepted

Sort by
0
Peter Filipov
Telerik team
answered on 15 Dec 2011, 03:49 PM
Hi,

Currently it is not possible to apply CSS class to the Node/GroupItem. We are going to implement it. Your points have been updated for the suggestion.

Kind regards, Peter Filipov
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
Ph
Top achievements
Rank 1
answered on 16 Dec 2011, 02:40 AM
Hi Peter

Thanks for your reply. Apart from what I raised out in my first post, it would be great if you guys can add the function to render personal assistant too. Here is an example: http://demo.orgchartcomponent.com/Demo7.aspx

Thanks
0
Peter Filipov
Telerik team
answered on 19 Dec 2011, 11:33 AM
Hello Ph,

Thank you for the suggestion. We are going to consider this feature for some of the next releases.

All the best,
Peter Filipov
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
Tags
OrgChart
Asked by
Ph
Top achievements
Rank 1
Answers by
Peter Filipov
Telerik team
Ph
Top achievements
Rank 1
Share this question
or