Method for exporting data from custom field to Excel

A technology for exporting data and excel, which is applied in electronic digital data processing, special data processing applications, word processing, etc., can solve problems such as poor user experience, and achieve the effect of reducing pressure, improving experience, and being widely applicable.

Inactive Publication Date: 2016-12-07
G CLOUD TECH
View PDF4 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] With the popularization of computers and the rapid development of informatization, there are more and more web applications, and we often export some information on the Internet: such as credit card consumption records, phone bill lists, bank statements, etc., often their operation methods are all fields Export, instead of allowing users to export the fields they want according to their needs; therefore, information that users do not care about will be forced to output to users, which leads to very poor user experience

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
  • Method for exporting data from custom field to Excel
  • Method for exporting data from custom field to Excel

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] Such as figure 1 , 2 As shown, the present invention presents all the field information of the object to be exported to the user, and the user can export the desired field information as needed, and can also adjust the order of each field, so as to realize the custom export Excel function of the query object , can effectively improve user experience, and the method of the present invention can be widely used in Java Web application development.

[0019] Specific steps are as follows:

[0020] Step 1. The client sends an export request to the server Action;

[0021] Step 2. After the Action receives the request, each attribute of the object to be exported and the name corresponding to the attribute are encapsulated in the form of key-value pairs through the reflection mechanism of the class, and the encapsulated Map is sent to the front-end jsp page;

[0022] Step 3: After the front-end page receives the Map data returned by the server, use elements to display;

[...

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 relates to the technical field of Java language Web program development, and specifically relates to a method for exporting data from a custom field to an Excel. The method comprises the steps of respectively taking each attribute of an object and the description of the attribute as a key value and a value of a Map through a reflection mechanism of a Java class, and transmitting the key value and the value of the Map to a front end and displaying the key value and the value of the Map by means of select multiselect; and selecting fields to be exported and/or adjusting the sequential order of each field according to the demand by a user to realize the custom export of a query object. The method is flexible and general, and the operation is simple and clear; and compared with a traditional method of one-time export all, the method provided by the invention effectively improves the export efficiency and increases the user experience, and the method of the invention can be widely used in the Java Web application development.

Description

technical field [0001] The invention relates to the technical field of Java language Web program development, in particular to a method for exporting data from a custom field to Excel. Background technique [0002] With the popularization of computers and the rapid development of informatization, there are more and more web applications, and we often export some information on the Internet: such as credit card consumption records, phone bill lists, bank statements, etc., often their operation methods are all fields Export, instead of allowing users to export the fields they want according to their needs; therefore, information that users do not care about will be forced to output to users, which leads to very poor user experience. Contents of the invention [0003] The technical problem solved by the present invention is to provide a method for exporting data from custom fields to Excel; exporting data to Excel according to user requirements, effectively improving user exp...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30G06F17/24
CPCG06F16/258G06F40/18
Inventor 齐兆勇关班记张远世何龙泉庞毅黄博季统凯
Owner G CLOUD TECH
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