jQuery Tree-Structured Data to Table Plugin TreeTable.js
Add-ons

Plugin Description: Built using native ul elements and jQuery, this plugin converts hierarchical JSON data into a tabular format and supports selection.
Usage
1. First, retrieve the JSON data from data
2. Call the method provided by the encapsulated plugin
1 2 3 4 | // Initialize the table treeTreeTable.init(data.threetree,$("#old"),{ previewTargets:["#preview"]}); |
The index.html file provides a usage example.
评论