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

"setStatusClass('k-denied')" removes hover shadow

1 Answer 81 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Fernando
Top achievements
Rank 1
Fernando asked on 01 Mar 2016, 02:57 PM

Hello,

 

I'm trying to use the treeview to display a file structure with direcotries and subdirectories, also i want to allow the user to edit the structure. I need to prevent the documents to become folders which is why I call "setStatusClass('k-denied') on the drag event when the user tries to drop a file "inside" another file. It works, doesn't allow the user to drop a file into another but i notice that the file is not "marked" anymore, it has the class ".k-state-hover" but it seems like isn't working. On the other hand when the kendo framework does the same, for example when you try to drop a node inside one of its child nodes, it works perfectly.

 

Here is an example, when you drag "Kendo UI Project" into "Word.docx", "Word.docx" is highlighted but when yo drag "Word.doc" into "Word.docx", "Word.docx" is not highlighted.

http://dojo.telerik.com/aWOxa

 

Thanks.

1 Answer, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 03 Mar 2016, 12:23 PM

Hello Juan Jose,

Thank you for reporting this, it has been logged for fixing, and will be resolved in the next internal build.

Regards,
Alex Gyoshev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
TreeView
Asked by
Fernando
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Share this question
or