CN103294480A - Method for converting grid line data into data list - Google Patents

Method for converting grid line data into data list Download PDF

Info

Publication number
CN103294480A
CN103294480A CN2013102529477A CN201310252947A CN103294480A CN 103294480 A CN103294480 A CN 103294480A CN 2013102529477 A CN2013102529477 A CN 2013102529477A CN 201310252947 A CN201310252947 A CN 201310252947A CN 103294480 A CN103294480 A CN 103294480A
Authority
CN
China
Prior art keywords
data
list
data list
item
group
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2013102529477A
Other languages
Chinese (zh)
Other versions
CN103294480B (en
Inventor
刘继光
何志国
周朝萱
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panzhihua University
Original Assignee
Panzhihua University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Panzhihua University filed Critical Panzhihua University
Priority to CN201310252947.7A priority Critical patent/CN103294480B/en
Publication of CN103294480A publication Critical patent/CN103294480A/en
Application granted granted Critical
Publication of CN103294480B publication Critical patent/CN103294480B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a method for converting grid line data into a data list. The method comprises the steps that firstly, configuration information of the data list is read, and the obtained configuration information is sequenced based on a group display sequence; secondly, group information is obtained, and a group is set up in the data list; thirdly, item attributes in the group are obtained, and an item is set up according to type information of the item of the attributes; fourthly, the position of the item is calculated, the grid line data are displayed in the data list after the item is correlated with the corresponding data in a grid line. According to the method for converting the grid line data into the data list, automatic conversion of the grid data and the list data is achieved, and mapping from the grid line data to the list data is achieved without any coding by programmer personnel. The data type of the data item of each grid can be freely and conveniently configured by the programmer personnel so that data list items can be displayed with different control manners. Maintenance is simple and convenient, the workload of developers is greatly reduced, and working efficiency is improved.

Description

The mesh row data are converted into the method for data list
Technical field
The present invention relates to computer software, is the method that the mesh row data are converted into data list concretely.
Background technology
Grid is widely used data exhibiting control in the application system development process, is characterized in showing the data intuitive and convenient, and can satisfy Large Volume Data and show requirement, therefore is widely used in the performance history of software.But the data rows that comprises when grid is too much, and computer screen is fully during all data rows of show grid, operating personnel's grid of having to drag frequently, thus greatly reduce work efficiency.Therefore in the develop computer software process, only using grid is not enough as the data display means.
For ease for use and the operability that improves software, solve the drawback that grid shows that data are brought, especially to the inconvenience of the too much grid data of data rows operation, the developer often need be in the data list of grid arranged beneath, the mesh row data that the user is chosen are converted into table data, for operating personnel provide the data global view of this mesh row, avoid the user to drag grid frequently.The process that at present mesh row is converted into data list drags basic control by the developer basically and finishes, not only there is the layout difficulty in this transform mode, problems such as the program coding workload is big, it is multiplexing that this development scheme of what is more important at all can't code, causes work efficiency low.
Utilize standardized software module to make up specific application system fast, realize that to greatest extent reusing of software is the target that the software engineer pursues always.Obviously, traditional software development mode that mesh row is converted into data list can not satisfy this requirement.In today of object-oriented, facing assembly method for designing increased popularity, traditional method that mesh row is converted into data list has seriously restricted the lifting of the development efficiency of application software.Therefore, it is imperative to develop the control that can directly mesh row be converted into data list.
Summary of the invention
The invention provides the method that a kind of mesh row data are converted into data list, by the general transform mode of mesh row data to the table data conversion, realize the automatic conversion of grid data and table data, reduce developer's workload, to increase work efficiency.
Mesh row data of the present invention are converted into the method for data list, comprising:
A. read the configuration information of data list, system divides into groups to the data rows in the data tabulation, and the data rows with identical group number is formed a group, and the configuration information that obtains is sorted by the DISPLAY ORDER of organizing.Wherein configuration information has comprised the type information that is listed as in the data list, the power of amendment limit information of row, the checking information of row etc.;
B. obtain group information, and in data list the establishment group.Group information has comprised that group name claims, information such as the DISPLAY ORDER of group;
C. obtain the attribute of group middle term, information such as a bookmark name that has comprised, DISPLAY ORDER, a type, and according to the type information establishment item of this item in the described attribute;
D. calculate described position, and after data corresponding in item and the mesh row are associated, show grid line data in data list.
Further, in the steps d to currentitem with after the mesh row data are related, return and judge in current group whether also have the not related mesh row data of residual term among the step c, begin to carry out from step c if having then continue.
Further, the configuration information of data list is stored in different storage areas respectively with data list.Configuration information is not bound with data list, and the program personnel can change the epideictic behaviour of data list by the configuration information that changes separate, stored like this, even after the program issue, still can reach the purpose that changes the data list behavior by changing configuration information.
Preferably, before reading the data list configuration information, verify user's authority earlier by landing program among the step a.
Mesh row data of the present invention are converted into the method for data list, by the general transform mode of mesh row data to the table data conversion, realized the automatic conversion of grid data and table data, need not the program personnel have carried out any coding and can realize that the mesh row data are to the mapping of table data.Program personnel can free dispose the data type of each lattice data item easily, thereby realize showing the data rows list item with different control forms, and safeguard simple and conveniently, have reduced developer's workload greatly, have improved work efficiency.
Below in conjunction with the embodiment of embodiment, foregoing of the present invention is described in further detail again.But this should be interpreted as that the scope of the above-mentioned theme of the present invention only limits to following example.Do not breaking away under the above-mentioned technological thought situation of the present invention, various replacements or change according to ordinary skill knowledge and customary means are made all should comprise within the scope of the invention.
Description of drawings
Fig. 1 is converted into the process flow diagram of the method for data list for mesh row data of the present invention.
Embodiment
Be example with the .NET development language, mesh row data of the present invention are converted into the method for data list, comprising:
A. verify user's authority by landing program.The user creates correlation engineering by checking back by Visual Studio platform, and drag and drop data grids control and data list control be in this project, the compiling engineering; Read the configuration information of data list, system divides into groups to the data rows in the data tabulation, and the data rows with identical group number is formed a group, and the configuration information that obtains is sorted by the DISPLAY ORDER of organizing.Wherein configuration information has comprised the type information that is listed as in the data list, the power of amendment limit information of row, the checking information of row etc.;
B. obtain group information, and in data list the establishment group.Group information has comprised that group name claims, information such as the DISPLAY ORDER of group;
C. obtain the attribute of group middle term, information such as a bookmark name that has comprised, DISPLAY ORDER, a type, and according to the type information establishment item of this item in the described attribute;
If a type is picture/mb-type, create the picture/mb-type item;
If a type is text, create text box type item;
If a type is the check box type, create check box type item;
If a type is the list box type, create drop-down list box type item;
If a type is currency type, create the currency type item;
If a type is date type, date created type item;
If a type is the multiple row list type, create multiple row drop-down list type item;
If a type is date type, date created type item;
D. calculate described position, and data corresponding in item and the mesh row are associated.Return afterwards and judge in current group whether also have the not related mesh row data of residual term among the step c, begin to carry out from step c if having then continue.If there has not been residual term, show grid line data in data list.
In system, the configuration information of data list is stored in different storage areas respectively with data list, the program personnel can change the epideictic behaviour of data list by the configuration information that changes separate, stored like this, even after the program issue, still can reach the purpose that changes the data list behavior by changing configuration information.

Claims (4)

1. the mesh row data are converted into the method for data list, and its feature comprises:
A. read the configuration information of data list, system divides into groups to the data rows in the data tabulation, and the data rows with identical group number is formed a group, and the configuration information that obtains is sorted by the DISPLAY ORDER of organizing;
B. obtain group information, and in data list the establishment group;
C. obtain the attribute of group middle term, create item according to the type information of this item in the described attribute;
D. calculate described position, and after data corresponding in item and the mesh row are associated, show grid line data in data list.
2. mesh row data as claimed in claim 1 are converted into the method for data list, it is characterized by: in the steps d to currentitem with after the mesh row data are related, return and judge in current group whether also have the not related mesh row data of residual term among the step c, begin to carry out if having then continue never middle c.
3. mesh row data as claimed in claim 1 are converted into the method for data list, it is characterized by: the configuration information of data list is stored in different storage areas respectively with data list.
4. be converted into the method for data list as the described mesh row data of one of claim 1 to 3, it is characterized by: before reading the data list configuration information, verify user's authority earlier by landing program among the step a.
CN201310252947.7A 2013-06-24 2013-06-24 Mesh row data transformations is the method for data list Active CN103294480B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310252947.7A CN103294480B (en) 2013-06-24 2013-06-24 Mesh row data transformations is the method for data list

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310252947.7A CN103294480B (en) 2013-06-24 2013-06-24 Mesh row data transformations is the method for data list

Publications (2)

Publication Number Publication Date
CN103294480A true CN103294480A (en) 2013-09-11
CN103294480B CN103294480B (en) 2016-04-06

Family

ID=49095420

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310252947.7A Active CN103294480B (en) 2013-06-24 2013-06-24 Mesh row data transformations is the method for data list

Country Status (1)

Country Link
CN (1) CN103294480B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018170888A1 (en) * 2017-03-24 2018-09-27 华平智慧信息技术(深圳)有限公司 Method and system for combining and selecting sub-control of big-data list
CN111142870A (en) * 2019-12-20 2020-05-12 中国建设银行股份有限公司 Web interface customization method and device, electronic equipment and storage medium
CN111666319A (en) * 2019-03-07 2020-09-15 腾讯科技(深圳)有限公司 Data display method and device, electronic equipment and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01243126A (en) * 1988-03-24 1989-09-27 Fuji Electric Co Ltd Arithmetic and control unit
CN101299198A (en) * 2008-06-13 2008-11-05 南京邮电大学 Dynamic self-adapting graticule data migration method
CN102122245A (en) * 2011-02-21 2011-07-13 北京沃泰丰通信技术有限公司 Method and system for generating configuration item setting interface

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01243126A (en) * 1988-03-24 1989-09-27 Fuji Electric Co Ltd Arithmetic and control unit
CN101299198A (en) * 2008-06-13 2008-11-05 南京邮电大学 Dynamic self-adapting graticule data migration method
CN102122245A (en) * 2011-02-21 2011-07-13 北京沃泰丰通信技术有限公司 Method and system for generating configuration item setting interface

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018170888A1 (en) * 2017-03-24 2018-09-27 华平智慧信息技术(深圳)有限公司 Method and system for combining and selecting sub-control of big-data list
CN111666319A (en) * 2019-03-07 2020-09-15 腾讯科技(深圳)有限公司 Data display method and device, electronic equipment and computer readable storage medium
CN111666319B (en) * 2019-03-07 2023-03-21 腾讯科技(深圳)有限公司 Data display method and device, electronic equipment and computer readable storage medium
CN111142870A (en) * 2019-12-20 2020-05-12 中国建设银行股份有限公司 Web interface customization method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN103294480B (en) 2016-04-06

Similar Documents

Publication Publication Date Title
US9021440B1 (en) System and method for automated test script generation
JP2012518837A5 (en)
CN102436498A (en) Report form generating method and relative device
CN103677781A (en) Graphical user interface and establishing method thereof for automated testing
CN104503769B (en) A kind of character pattern liquid crystal interface implementation method based on XML configuration file
CN102156640A (en) Method for generating data operation code
CN114461200A (en) Low-code development application and method based on cloud SaaS platform
CN108804300A (en) Automated testing method and system
CN108829653A (en) A kind of generation method of report, device, equipment and medium
CN105653255A (en) Method arranging report template to automatically generate report files in office frame
CN103294480A (en) Method for converting grid line data into data list
CN104881461A (en) Rapid data storage method
CN103699478A (en) Test case generation system and test case generation method
CN104850498A (en) Filling information testing method and filling information testing system
CN102446167B (en) A kind of logic-based template is to the method and apparatus of complex characters string logical process
CN103810292A (en) Method and device for configuring graphical interface
CN111061743A (en) Data processing method and device and electronic equipment
CN101408843B (en) Method and apparatus for generating program menu
CN105988863A (en) Event processing method and device
US10042638B2 (en) Evaluating documentation coverage
CN107766519B (en) Method for visually configuring data structure
CN102081521B (en) A kind of general development platform of military hardware operation interface
CN103164570A (en) Circuit component lead-in method and device in circuit design
CN104778087B (en) A kind of information processing method and information processing unit
CN107025110B (en) Temporal modeling method based on software development elements and relations among elements

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant