Wijmo UI for the Web
findNodeByText Method
The text of which node you want to find.
The findNodeByText method finds a node by the specified node text.
Syntax
Javascript (Usage) 
$(function () {
    var returnsValue; // Type:  any
    // Parameters
    var txt; // Type:  string
    
    returnsValue = $(".selector").wijtree("findNodeByText", txt);
});
Javascript (Specification) 
function findNodeByText( 
   txt : string
) : any;

Parameters

txt
The text of which node you want to find.
Example
$("#tree").wijtree("findNodeByText", "node 1");
Browser Compatibility
7
5
5

See Also

Reference

wijtree type
wijtree jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.