CN103294480B - Mesh row data transformations is the method for data list - Google Patents
Mesh row data transformations is the method for data list Download PDFInfo
- Publication number
- CN103294480B CN103294480B CN201310252947.7A CN201310252947A CN103294480B CN 103294480 B CN103294480 B CN 103294480B CN 201310252947 A CN201310252947 A CN 201310252947A CN 103294480 B CN103294480 B CN 103294480B
- Authority
- CN
- China
- Prior art keywords
- data
- data list
- list
- mesh row
- 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.)
- Active
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The present invention relates to the method that mesh row data transformations is data list, comprising: a. reads the configuration information of data list, the configuration information obtained is sorted by group DISPLAY ORDER; B. acquisition group information, and in data list establishment group; C. the attribute of acquisition group middle term, creates item according to this type information in described attribute; D. the position of described item is calculated, and after the data that item is corresponding with mesh row are associated, the capable data of show grid in data list.Method of the present invention, achieves the automatic conversion of grid data and table data, program staff need not carry out any coding and can realize the mapping of mesh row data to table data.Program staff freely can configure the data type of each lattice data item easily, thus realizes with different control forms display data list items, and safeguards simple and convenient, greatly reduces the workload of developer, improves work efficiency.
Description
Technical field
The present invention relates to computer software, the method for data list that to be mesh row data transformations be concretely.
Background technology
Grid is widely used data exhibiting control in application system development process, is characterized in display data intuitive and convenient, and can meet Large Volume Data displaying requirement, is therefore widely used in the performance history of software.But the data rows comprised when grid is too much, computer screen can not all data rows of show grid completely time, operating personnel have to drag grid frequently, thus greatly reduce work efficiency.Therefore, in develop computer software process, only grid is used to be inadequate as data display means.
In order to improve ease for use and the operability of software, solve the drawback that grid display data brings, especially to the inconvenience that the grid data that data rows is too much operates, developer often needs in the data list of grid arranged beneath, mesh row data transformations user chosen is table data, for operating personnel provide the data global view of this mesh row, user is avoided to drag grid frequently.The process at present mesh row being converted into data list substantially drags basic control by developer and completes, not only there is layout difficulty in this transform mode, the problems such as program coding workload is large, this development scheme of what is more important at all cannot code multiplexing, cause work efficiency low.
Utilize the specific application system of standardized software module rapid build, realize reusing of software is to greatest extent the target that software engineer pursues always.Obviously, traditional software development mode mesh row being converted into data list can not meet this requirement.In today of object-oriented, facing assembly method for designing increased popularity, traditional method mesh row being converted into data list seriously constrains the lifting of the development efficiency of application software.Therefore, the control that directly mesh row can be converted into data list is developed imperative.
Summary of the invention
The invention provides a kind of mesh row data transformations is the method for data list, by the General transformations mode that mesh row data transform to table data, realize the automatic conversion of grid data and table data, reduce the workload of developer, to increase work efficiency.
Mesh row data transformations of the present invention is the method for data list, comprising:
A. read the configuration information of data list, system is divided into groups to the data rows in data list, and the data rows with identical group number forms a group, the DISPLAY ORDER of the configuration information of acquisition by group is sorted.Wherein configuration information includes the type information, the power of amendment limit information of row, the checking information etc. of row that arrange in data list;
B. acquisition group information, and in data list establishment group.Group information includes group name and claims, the information such as the DISPLAY ORDER of group;
C. the attribute of acquisition group middle term, includes the information such as the bookmark name of item, DISPLAY ORDER, item type, and creates item according to this type information in described attribute;
D. the position of described item is calculated, and after the data that item is corresponding with mesh row are associated, the capable data of show grid in data list.
Further, in steps d after currentitem and mesh row data correlation, return in step c and judge whether also have the not associated mesh row data of residual term in current group, if had, continue to perform from step c.
Further, the configuration information of data list is stored in different storage areas respectively from data list.Configuration information is not bound with data list, and such program staff can change the epideictic behaviour of data list by the configuration information changing separate, stored, even if after program is issued, still reaches by changing configuration information the object changing data list behavior.
Preferably, in step a before reading data list configuration information, first by the authority of landing program authentication of users.
Mesh row data transformations of the present invention is the method for data list, by the General transformations mode that mesh row data transform to table data, achieve the automatic conversion of grid data and table data, program staff need not carry out any coding and can realize the mapping of mesh row data to table data.Program staff freely can configure the data type of each lattice data item easily, thus realizes with different control forms display data list items, and safeguards simple and convenient, greatly reduces the workload of developer, improves 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 is only limitted to following example.Without departing from the idea case in the present invention described above, the various replacement made according to ordinary skill knowledge and customary means or change, all should comprise within the scope of the invention.
Accompanying drawing explanation
The process flow diagram of Fig. 1 to be mesh row data transformations of the present invention be method of data list.
Embodiment
For .NET development language, mesh row data transformations of the present invention is the method for data list, comprising:
A. by the authority of landing program authentication of users.User is by creating correlation engineering by VisualStudio platform after checking, and drag and drop DataGrid control and data list control are in this project, compiling engineering; Read the configuration information of data list, system is divided into groups to the data rows in data list, and the data rows with identical group number forms a group, the DISPLAY ORDER of the configuration information of acquisition by group is sorted.Wherein configuration information includes the type information, the power of amendment limit information of row, the checking information etc. of row that arrange in data list;
B. acquisition group information, and in data list establishment group.Group information includes group name and claims, the information such as the DISPLAY ORDER of group;
C. the attribute of acquisition group middle term, includes the information such as the bookmark name of item, DISPLAY ORDER, item type, and creates item according to this type information in described attribute;
If item type is picture/mb-type, create picture/mb-type item;
If item type is text, create text box type item;
If item type is check box type, create check box type item;
If item type is list box type, create drop-down list box type item;
If item type is currency type, create currency type item;
If item type is date type, date created type item;
If item type is multiple row list type, create multiple row drop-down list type item;
If item type is date type, date created type item;
D. calculate the position of described item, and the data that item is corresponding with mesh row are associated.Return afterwards in step c and judge whether also have the not associated mesh row data of residual term in current group, if had, continue to perform from step c.If there is no residual term, the capable data of show grid in data list.
In systems in which, the configuration information of data list is stored in different storage areas respectively from data list, such program staff can change the epideictic behaviour of data list by the configuration information changing separate, stored, even if after program is issued, still reach by changing configuration information the object changing data list behavior.
Claims (4)
1. mesh row data transformations is the method for data list, and its feature comprises:
A. read the configuration information of data list, system is divided into groups to the data rows in data list, and the data rows with identical group number forms a group, the DISPLAY ORDER of the configuration information of acquisition by group is sorted;
B. acquisition group information, and in data list establishment group;
C. the attribute of acquisition group middle term, creates item according to this type information in described attribute;
D. the position of described item is calculated, and after the data that item is corresponding with mesh row are associated, the capable data of show grid in data list.
2. mesh row data transformations as claimed in claim 1 is the method for data list, it is characterized by: by after currentitem and mesh row data correlation in steps d, return in step c and judge whether also have the not associated mesh row data of residual term in current group, if had, continue to perform from step c.
3. mesh row data transformations as claimed in claim 1 is the method for data list, it is characterized by: the configuration information of data list is stored in different storage areas respectively from data list.
4. the mesh row data transformations as described in one of claims 1 to 3 is the method for data list, it is characterized by: in step a before reading data list configuration information, first by the authority of landing program authentication of users.
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 CN103294480A (en) | 2013-09-11 |
CN103294480B true 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) |
Families Citing this family (3)
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 |
CN111666319B (en) * | 2019-03-07 | 2023-03-21 | 腾讯科技(深圳)有限公司 | Data display method and device, electronic equipment and computer readable storage medium |
CN111142870B (en) * | 2019-12-20 | 2022-11-15 | 建信金融科技有限责任公司 | Web interface customization method and device, electronic equipment and storage medium |
Citations (3)
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 |
-
2013
- 2013-06-24 CN CN201310252947.7A patent/CN103294480B/en active Active
Patent Citations (3)
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 |
Also Published As
Publication number | Publication date |
---|---|
CN103294480A (en) | 2013-09-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114035773B (en) | Configuration-based low-code form development method, system and device | |
US20130218924A1 (en) | Method of providing data included in building information modeling data file, recording medium therefor, system using the method, and method of providing data using building information modeling server | |
CN107807954B (en) | Visual modeling multidimensional analysis system and method thereof | |
CN104123227A (en) | Method for automatically generating testing cases | |
CN102663103A (en) | Configurable method for automatically generating database and accessing data | |
CN114461200A (en) | Low-code development application and method based on cloud SaaS platform | |
CN103176802B (en) | Realize the method that the user interface UI of system separates with widget library by control pond | |
CN103150165A (en) | Frame and method for building outdoor data acquisition program | |
CN106599229A (en) | Method and device for constructing business system based on Flex | |
CN102156640A (en) | Method for generating data operation code | |
CN106055528A (en) | Automatic generation method and apparatus of documents | |
CN102393889A (en) | Permissions configuration management system | |
CN104063495A (en) | Form extension method and form extension device | |
CN103093038A (en) | Updating method and updating device for bills of material (BOMs) | |
CN103268226A (en) | Test script file generation method and device | |
CN104391693A (en) | Method for achieving multiple-choice of drop-down list box | |
CN104503769B (en) | A kind of character pattern liquid crystal interface implementation method based on XML configuration file | |
CN103294480B (en) | Mesh row data transformations is the method for data list | |
CN102298740A (en) | Business process management supporting method | |
CN105183450A (en) | E-government form model configuration system with foreground and background separation function | |
CN104615431A (en) | Method and device for achieving Web application | |
CN108829653A (en) | A kind of generation method of report, device, equipment and medium | |
CN103257987A (en) | Rule-based distributed log service implementation method | |
CN104881461A (en) | Rapid data storage method | |
CN202904558U (en) | Interface modeler device |
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 |