Easily learn how to create a tree network by using the jQuery plug-in EasyUIEasyUI (1) _ jquery

Source: Internet
Author: User
This article helps you easily learn the jQuery plug-in EasyUI and teaches you how to use EasyUI to create a tree network. For more information, see 1. EasyUI create a basic tree grid
The TreeGrid component inherits from the data grid, but the parent/child node relationship between rows is allowed. Many attributes are inherited to the data grid and can be used in the TreeGrid. To use a TreeGrid, you must define the 'treefield' attribute to specify which field is used as the tree node.
This article will show you how to use the TreeGrid component to set a folder browsing.

Create a TreeGrid)

 
Name Size Modified Date

II. EasyUI create a complex tree grid
TreeGrid displays workbooks with multiple columns and complex data in a limited space. This tutorial shows how to arrange table data in a split grid and multiple row headers to organize common data.

Create a TreeGrid)

 
Region
2009 2010
1st qrt. 2st qrt. 3st qrt. 4st qrt. 1st qrt. 2st qrt. 3st qrt. 4st qrt.

As you can see, the use of Treegrid is the same as that of Datagrid. Use the 'Frozen' attribute to define frozen columns. use the 'colspan 'and 'rowspan' attributes of the columns to define multi-row headers.

The above describes how to create a simple tree network and a complex tree network for EasyUI.

For more information, see this article: how to easily learn the jQuery plug-in EasyUI to implement basic Tree Network operations (2)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.