Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Reneta Säll on Dec 21, 2007 05:18
open dhtmlx forum
dhtmlxTree find functionality

Hi, I am using the find functionality. I need to have an alert message when data is not found in the tree content?
How can I do this? What the tree.findItem.. returns if no data found?
Answer posted by Support on Dec 21, 2007 09:32
Method returns null if nothing found

if (tree.findItem("some")===null) alert("not found");