Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Manual Folder tree creation script issue->please suggest  RSS feed

Foni kumar
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Experts,

I am a new user of dojo toolkit 1.9 version, I want to implement an option in my folder tree structure which can facilitate me to right click on any folder in that tree and create a new folder under it manually. Any sample code or snippet to perform this operation will be helpful in this context.


Folder (TREE) ---> Click on any Folder ---> prompts a message ("Enter a folder name say Folder 1 in this case)--> user enters folder name manually and it is added to the folder structure

Here is the section of dojo code where I am trying to implement a feature which will prompt a message to" Enter a folder name" on double click of folder but it is not working not sure where I am going wrong. I am going wrong somewhere in this script because of which the invoke of double click isn't working. Can someone suggest me the code I need to change here?

Is it something I am doing incorrect with reference to the sequence of the script? Can someone please take a look at the below code and suggest.

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!