Categories | Question details Back To List | ||||||||||||||||||||||||||||||||
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- :) Thanks ur customer mithi s/w Answer posted by Support on Feb 05, 2009 08:21 >>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. http://dhtmlx.com/docs/products/dhtmlxToolbar/samples/input/?un=1233851608000 The full code of search in tree sample can be checked in tree's package dhtmlxTree\samples\selection_sorting_navigation\pro_search.html Answer posted by sandip on Feb 06, 2009 03:23 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... Attachments (5)
Answer posted by Support on Feb 06, 2009 07:06 >>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 Answer posted on Feb 09, 2009 04:51 :( ... 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 Answer posted by Alex (dhtmlx) on Feb 09, 2009 09:11 Please, contact us at support@dhtmlx.com in order to get the evaluation version of tree PRO. |