Tree-node displaying method and device

A tree node and node technology, which is applied in the field of tree node presentation methods and devices, can solve problems such as the inability to implement check logic, and achieve the effect of improving data loading speed

Inactive Publication Date: 2010-02-03
NEUSOFT CORP
View PDF0 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the lazy loading mode, since the tree nodes are not fully loaded, t

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Tree-node displaying method and device
  • Tree-node displaying method and device
  • Tree-node displaying method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0071] In order to enable those skilled in the art to better understand the solutions of the embodiments of the present invention, the embodiments of the present invention will be further described in detail below in conjunction with the drawings and implementations.

[0072] The method and device for displaying tree nodes in the embodiments of the present invention, when displaying tree nodes, perform lazy loading of tree node data step by step to solve the problem of slow data loading speed in the case of a large amount of data. At the same time, each tree node is separately set Double check box, through the selection of the double check box to realize the association of all descendant nodes.

[0073] Such as figure 1 As shown, it is a flow chart of a tree node presentation method in an embodiment of the present invention, including the following steps:

[0074] Step 101, setting double check boxes for each tree node respectively, respectively the first check box and the se...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a tree-node displaying method and a device thereof. The method comprises the steps of setting a double-check box for each tree node, respectively named as a first check box anda second check box, wherein, the first check box indicates whether the node is associated with all descendant nodes thereof or not; the second check box indicates whether the node has associated relationship with superior nodes or indicates the state whether the node is selected or not when the node is not associated with the superior nodes; when tree nodes are displayed, direct subordinate nodesof the selected nodes are displayed by a lazy load way, and whether all subordinate nodes of the selected nodes are associated or not is determinated according to the state of the first check box andthe second check box corresponding to the selected node. By using the invention, tree nodes can be displayed on the basis of lazy load, business display performance is provided, and meanwhile, the association of all descendent nodes is realized.

Description

technical field [0001] The invention relates to data processing technology, in particular to a tree node display method and device. Background technique [0002] In the process of business system development, it is often encountered to use trees to display data. In many cases, there is a check box in front of the tree node, which is used for business-related data selection and cancellation operations. A typical application scenario is that an administrator authorizes menu operations in a business system. [0003] In general, there are the following check logics for tree node operations: [0004] (1) There is no check logic, that is, for the node to be selected, the user must click the check box; [0005] (2) Associate all descendant nodes, that is, when the user selects a node, all its subordinate nodes (including subordinate nodes of subordinate nodes) are all selected; [0006] (3) Associate all parent nodes, that is, when a node is selected, all its superior nodes are...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F17/30
Inventor 张德阳张霞王洪侠
Owner NEUSOFT CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products