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

Unselect Kendo Tree View node

1 Answer 153 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Arrash
Top achievements
Rank 1
Arrash asked on 01 Jun 2015, 11:48 AM

Hi there,

 Is there any way to Unselect a tree node?. I have a databound event which fires the below function.

function equipmentCategoryLoaded(){
            
            $(".k-item").click(function(e){
                var equipmentCategoryTree = $("#equipmentCategoryTreeView").data("kendoTreeView");
                var equipmentCategorySelected = equipmentCategoryTree.select();

                if(equipmentCategorySelected && $(e.currentTarget).attr("date-uid") == $(equipmentCategorySelected.context).attr("data-uid")){
                    equipmentCategoryTree.select($());
                }
            });
         }

 Not sure where i am going wrong.

Any help would be appreciated.

 

Many Thanks

 Arrash

1 Answer, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 03 Jun 2015, 06:59 AM

Hello Arrash,

I covered the question in the support thread on the same topic. We will need some additional details in order to inspect it further.

Regards,
Dimiter Madjarov
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
TreeView
Asked by
Arrash
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Share this question
or