![]() |
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 getNextItem() method is used to get the next item of selected item. It does not accept any parameter and returns the object type value. The returned item has the following fields:
Syntax: var selectedItem = $("Selector").jqxTree('getNextItem'); var nextItem = $("Selector") .jqxTree('getNextItem', selectedItem.element);
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.
The below example illustrates the jQWidgets jqxTree getNextItem() method. Example: HTML
Output: Reference: https://www.jqwidgets.com/jquery-widgets-documentation/documentation/jqxtree/jquery-tree-api.htm |
Reffered: https://www.geeksforgeeks.org
JQuery |
Type: | Geek |
Category: | Coding |
Sub Category: | Tutorial |
Uploaded by: | Admin |
Views: | 7 |