jQWidgets jqxTree refresh() Method Last Updated : 13 Oct, 2021 Comments Improve Suggest changes Like Article Like Report jQWidgets is a JavaScript framework for making web-based applications for pc and mobile devices. It is a very powerful, optimized, platform-independent, and widely supported framework. The jqxTree represents a jQuery widget that is used to display a hierarchical collection of items. To display the collection of items, we can populate from 'UL' or by using its 'source' property. The refresh() method is used to refresh the jqxTree widget. It does not accept any parameter and does not return any value. Syntax: $('Selector').jqxTree('refresh'); Linked Files: Download jQWidgets from the given link https://www.jqwidgets.com/download/. In the HTML file, locate the script files in the downloaded folder. <link rel="stylesheet" href="jqwidgets/styles/jqx.base.css" type="text/css" /><script type="text/javascript" src="scripts/jquery-1.11.1.min.js"></script><script type="text/javascript" src="jqwidgets/jqxcore.js"></script><script type="text/javascript" src="jqwidgets/jqx-all.js"></script><script type="text/javascript" src="jqwidgets/jqxbuttons.js"></script><script type="text/javascript" src="jqwidgets/jqxscrollbar.js"></script><script type="text/javascript" src="jqwidgets/jqxpanel.js"></script><script type="text/javascript" src="jqwidgets/jqxtree.js"></script> The below example illustrates the jQWidgets jqxTree refresh() method. Example: HTML <!DOCTYPE html> <html lang="en"> <head> <link rel="stylesheet" href= "jqwidgets/styles/jqx.base.css" type="text/css" /> <script type="text/javascript" src="scripts/jquery-1.11.1.min.js"></script> <script type="text/javascript" src="jqwidgets/jqxcore.js"></script> <script type="text/javascript" src="jqwidgets/jqx-all.js"></script> <script type="text/javascript" src="jqwidgets/jqxbuttons.js"></script> <script type="text/javascript" src="jqwidgets/jqxscrollbar.js"></script> <script type="text/javascript" src="jqwidgets/jqxpanel.js"></script> <script type="text/javascript" src="jqwidgets/jqxtree.js"></script> <style> h1, h3 { text-align: center; } #jqxTree { width: 100%; margin: 0 auto; } </style> </head> <body> <h1 style="color: green;"> GeeksforGeeks </h1> <h3> jQWidgets jqxTree refresh() Method </h3> <div id='jqxTree'> <ul> <li item-selected='true'> GeeksforGeeks </li> <li id="prog">Programming <ul> <li>C</li> <li>C++</li> <li>Java</li> <li>Python</li> </ul> </li> <li>Web Technology <ul> <li>HTML</li> <li>CSS</li> <li>JavaScript</li> <li>jQuery</li> <li>PHP</li> </ul> </li> </ul> </div> <center> <input type="button" id="jqxBtn" value="Refresh the Widget" style="padding: 5px 15px; margin-top: 20px;"> </center> <script type="text/javascript"> $(document).ready(function() { $('#jqxTree').jqxTree({ width: '350px', height: '250px' }); }); $('#jqxBtn').click(function() { $('#jqxTree').jqxTree('refresh'); alert("Refresh the jqxTree Widget"); }); </script> </body> </html> Output: Reference: https://www.jqwidgets.com/jquery-widgets-documentation/documentation/jqxtree/jquery-tree-api.htm Comment More infoAdvertise with us Next Article jQWidgets jqxForm refresh() Method A ashokjaiswal Follow Improve Article Tags : Web Technologies JQuery jQuery-jQWidgets jQWidgets-jqxTree Similar Reads jQWidgets jqxTreeGrid refresh() Method jQWidgets is a JavaScript framework for making web-based applications for PC and mobile devices. It is a very powerful, optimized, platform-independent, and widely supported framework. The jqxTreeGrid is used for representing data in a tree-like structure. This widget is useful for displaying multi- 3 min read jQWidgets jqxGrid refresh() Method jQWidgets is a JavaScript framework for making web-based applications for PC and mobile devices. It is a very powerful, optimized, platform-independent, and widely supported framework. The jqxGrid is used to illustrate a jQuery widget that shows data in tabular form. Moreover, it renders full suppor 2 min read jQWidgets jqxForm refresh() Method jQWidgets is a JavaScript framework for making web-based applications for PC and mobile devices. It is a very powerful, optimized, platform-independent, and widely supported framework. jqxForm represents a jQuery form widget that contains textFields, textArea and password fields, etc which helps us 2 min read jQWidgets jqxTextArea refresh() Method jQWidgets is a JavaScript framework for making web-based applications for PC and mobile devices. It is a very powerful, optimized, platform-independent, and widely supported framework. The jqxTextArea represents a jQuery Textarea widget that is used to insert text content inside the textbox. The ref 2 min read jQWidgets jqxDraw refresh() Method jQWidgets is a JavaScript framework for making web-based applications for PC and mobile devices. It is a very powerful, optimized, platform-independent, and widely supported framework. The jqxDraw is a small jQuery-based plugin that is used to draw shapes and texts using VML, SVG, and HTML. The refr 2 min read jQWidgets jqxToolBar refresh() Method jQWidgets is a JavaScript framework for making web-based applications for PC and mobile devices. It is a very powerful, optimized, platform-independent, and widely supported framework. The jqxToolBar is used to illustrate a jQuery widget that shows a toolbar where various tools can be spontaneously 2 min read Like