Double click on a folder not working in dhtml

Hi all,
I am using dhtmlx folders to display folders in my project. I am using an event called “ondblclick” .So, when i double click on folder it does not work properly as my code follows. Can any one help me in this.

Code:
myFolders.attachEvent(“ondblclick”,FolderDbClick);

Thanks

It strongly recommended to use dhtmlxDataView instead of folders.
DataView provides all functionality of folders and a lot of extras, and has not above problem.