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

[Solved] change parent style

1 Answer 112 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Marco Teodoro
Top achievements
Rank 1
Marco Teodoro asked on 09 Jun 2010, 02:52 PM
how can i change the background color of a node that contains child's?

1 Answer, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 10 Jun 2010, 07:49 AM
Hello Marco Teodoro,

Use the following script:

$('.t-plus,.t-minus').closest('div')
   .css('background-color', '#f00');


Best wishes,
Alex Gyoshev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
TreeView
Asked by
Marco Teodoro
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Share this question
or