HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
Tree grid (TreeGrid) components inherit from the Data Grid (DataGrid), but allows the parent / child relationship between the nodes in the row. Many of the properties inherited to the data grid (DataGrid), it can be used in the tree grid (TreeGrid) in. In order to use the tree grid (TreeGrid), the user must define 'treeField' property, indicate which field as tree nodes.
This tutorial will show you how to use the tree grid (TreeGrid) set up a folder browser component.
<Table id = "test" title = "Folder Browser" class = "easyui-treegrid" style = "width: 400px; height: 300px" url = "data / treegrid_data.json" rownumbers = "true" idField = "id" treeField = "name"> <Thead> <Tr> <Th field = "name" width = "160"> Name </ th> <Th field = "size" width = "60" align = "right"> Size </ th> <Th field = "date" width = "100"> Modified Date </ th> </ Tr> </ Thead> </ Table>