dhtmlxTree Search.

hi…



i was looking examples reg. tree node search but was unable to found it. I was going through ur knowledge base and found that searching in tree is possible and u hav sample example for that. So how can i get that sample example.



I m guessing that for search u might be using a search box which may be independent to tree. But i am using accordion and attach tree to it. So how i can use search to find node from the tree. If seach box is using for seaching then where can i put that search box since three are multiple tree attach to the accodion obj. I want to search to a specific tree.





plz provide me a sample example for tree search, if possible- :slight_smile:





Thanks

ur customer

mithi s/w

If seach box is using for seaching then where can i put that search box since three are multiple tree attach to the accodion obj. I want to search to a specific tree.
You can attach toolbar to the accordion’s cell, and use “input” button in it.
dhtmlx.com/docs/products/dhtmlxT … 3851608000

The full code of search in tree sample can be checked in tree’s package
dhtmlxTree\samples\selection_sorting_navigation\pro_search.html

hi…

i couldnot able to find the sample example(dhtmlxTree\samples\selection_sorting_navigation\pro_search.html), it is missing when I downloaded ur dhtmlxTree. One thing i want to mention here that we had purchased dhtmlxGrid and dhtmlxTreeGrid. During that process u provided us a professional copy for evoluation for one months. Now we are designing a prototype that requires a accoridion and Tree. If we successfully use the required features for  our need then we will purchase the remaining components. So can you plz provide us proffesional copy of dhtmlxTree and accordion along with Toolbar so that we can test it. Please provide the full sample codes so that we can refer it.

I am sending u my prototype codes.
pls execute the testframe.html first. On Left page there is search box it seem to thick incomparision to the accoridion. so how can i decrease the width of it. secondly search should be work…





entityview_tree.xml.zip (621 Bytes)
mailflowview_tree.xml.zip (1.1 KB)
testframe.html.zip (404 Bytes)
MainAccordion.html.zip (1.15 KB)
Entity.jsp (44.4 KB)

so how can i decrease the width of it
Width controlled by 4th parameter of constructor
oToolBar.addInput(“Input”,1,"",80);
oToolBar.attacEvent(“onEnter”,function(id,value){
tree.findItem(value,0,1); //fire search in tree, when text typed in input
})


>>Now we are designing a prototype that requires a accoridion and Tree
>>Please provide the full sample codes so that we can refer it.
Please contact us directly at sales@dhtmlx.com

:frowning: … sorry but still searching node in a tree didn’t work… dhtmlxtree.js file doesnot contain functions findItem() and findItemIdByLabel(…),  Plz  provide  me  a  solution…

thanx in advance
sandip 

Please, contact us at support@dhtmlx.com in order to get the evaluation version of tree PRO.