CN105677627A - Table operation method and apparatus - Google Patents

Table operation method and apparatus Download PDF

Info

Publication number
CN105677627A
CN105677627A CN201511001039.6A CN201511001039A CN105677627A CN 105677627 A CN105677627 A CN 105677627A CN 201511001039 A CN201511001039 A CN 201511001039A CN 105677627 A CN105677627 A CN 105677627A
Authority
CN
China
Prior art keywords
layer
gauge outfit
content
former form
former
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.)
Pending
Application number
CN201511001039.6A
Other languages
Chinese (zh)
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.)
Inspur Beijing Electronic Information Industry Co Ltd
Original Assignee
Inspur Beijing Electronic Information Industry Co Ltd
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 Inspur Beijing Electronic Information Industry Co Ltd filed Critical Inspur Beijing Electronic Information Industry Co Ltd
Priority to CN201511001039.6A priority Critical patent/CN105677627A/en
Publication of CN105677627A publication Critical patent/CN105677627A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/177Editing, e.g. inserting or deleting of tables; using ruled lines
    • G06F40/18Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/248Presentation of query results

Abstract

The present invention discloses a table operation method and apparatus. The method comprises the steps of obtaining input parameters including table identification; obtaining table information of an original table corresponding to the table identification, copying the original table according to the table information, and obtaining a copied table header corresponding to a table header of the original table; respectively creating layers for the original table and the copied table header, and obtaining a content layer corresponding to the original table and a table header layer corresponding to the copied table header; covering a position, corresponding to the table header of the original table, in the content layer by using the table header layer, and creating frame layers for the table header layer and the content layer; and arranging the position of the table header layer in the frame layers to be fixed. When scroll view is required for the original table when the content of the original table is too long, the position of the copied table header is fixed, users can compare and check the table content of the original table and the copied table header conveniently, and working efficiency of the users is improved.

Description

A kind of form operational approach and device
Technical field
The present invention relates to Computer Applied Technology field, more particularly, it relates to a kind of form operational approach and device.
Background technology
Form is the important way of client display data in WEB application, can show, to user, the data that service end processes intuitively.
Under normal circumstances, form can be operated accordingly by user by client, as checked and amendment etc. But, inventor have found that, when the data record in form is more, if dragging table content (content that table content is in form except gauge outfit) rolling to check, gauge outfit also can roll therewith up, now, if user needs the gauge outfit that in acquisition table content, data record is corresponding, also need to roll gauge outfit recall, had a strong impact on user's work efficiency when using form.
In sum, prior art exists user's his-and-hers watches content and carries out gauge outfit when rolling is checked and also can roll therewith, in turn result in the problem that the work efficiency of user is relatively low.
Summary of the invention
It is an object of the invention to provide a kind of form operational approach and device, carry out gauge outfit when rolling is checked with the user's his-and-hers watches content solving exist in prior art and also can roll therewith, in turn result in the problem that the work efficiency of user is relatively low.
To achieve these goals, the present invention provides following technical scheme:
A kind of form operational approach, including:
Obtaining input parameter, described input parameter includes form mark;
Obtain the form data of the former form corresponding with described form mark, and according to described form data, described former form is carried out replication processes, obtain the duplication gauge outfit corresponding with the gauge outfit of described former form;
Respectively described former form and described duplication gauge outfit create layer, and obtain the content graph layer corresponding with described former form and the gauge outfit figure layer corresponding with described duplication gauge outfit;
Utilize described gauge outfit figure layer to cover the position that the gauge outfit of former form described in described content graph layer is corresponding, and be described gauge outfit figure layer and described content graph layer establishment frame diagram layer;
Arrange described gauge outfit figure layer position in described frame diagram layer to immobilize.
Preferably, described input parameter also includes width and arranges value and highly arrange value, and described method also includes:
Creating frame diagram layer for described gauge outfit figure layer and described content graph layer, and the height of described frame diagram layer is set to described height arranges value, the width of described frame diagram layer is set to described width and arranges value.
Preferably, according to described form data, described former form is carried out replication processes, obtain the duplication gauge outfit corresponding with the gauge outfit of described former form, including:
According to described form data, described former form is replicated, obtain the duplication form corresponding with described former form;
Copy table content corresponding with the table content of described former form in described duplication form is deleted, obtains the duplication gauge outfit corresponding with the gauge outfit of described former form.
Preferably, described input parameter also includes screening mark, and described method also includes:
Screening assembly is set;
Definition filter events, and by described screening assembly and the binding of described filter events, wherein, described filter events is that the content comprised in described frame diagram layer is screened by the screening conditions inputted in described screening assembly according to the external world.
Preferably, described input parameter also includes inquiry mark, and described method also includes:
Enquiring component is set;
Definition query event, and by described enquiring component and the binding of described query event, wherein, described query event is that the content comprised in described frame diagram layer is inquired about by the querying condition inputted in described enquiring component according to the external world.
Preferably, described input parameter also includes sequence mark, and described method also includes:
Sequencing assembly is set;
Definition sequence event, and by described sequencing assembly and described sequence event binding, wherein, described sequence event is that the content comprised in described frame diagram layer is ranked up by the ordering instruction inputted in described sequencing assembly according to the external world.
Preferably, sequencing assembly is set, including:
Each column for comprising in described gauge outfit figure layer is respectively provided with sequencing assembly;
Corresponding, define sequence event, including:
Definition sequence event, described sequence event is the ordering instruction inputted in described sequencing assembly according to the external world, according to the row content corresponding with this sequencing assembly, the content comprised in described frame diagram layer is ranked up.
Preferably, also include:
Definition col width event, the content of described col width event is that the col width replicating gauge outfit described in described gauge outfit figure layer keeps consistent with the col width of the gauge outfit of former form described in described content graph layer;
By described col width event binding to the forms corresponding with described former form.
A kind of form operation device, including:
Acquisition module, is used for obtaining input parameter, and described input parameter includes form mark; And for obtaining the form data of the former form corresponding with described form mark;
Processing module, for described former form being carried out replication processes according to described form data, obtains the duplication gauge outfit corresponding with the gauge outfit of described former form;
Figure layer creation module, creates layer for respectively described former form and described duplication gauge outfit, obtains the content graph layer corresponding with described former form and the gauge outfit figure layer corresponding with described duplication gauge outfit; And for utilizing described gauge outfit figure layer to cover the position that the gauge outfit of former form described in described content graph layer is corresponding, and it is described gauge outfit figure layer and described content graph layer establishment frame diagram layer;
Position arranges module, immobilizes for arranging described gauge outfit figure layer position in described frame diagram layer.
Preferably, also include:
Col width arranges module, is used for: definition col width event, and the content of described col width event is that the col width replicating gauge outfit described in described gauge outfit figure layer keeps consistent with the col width of the gauge outfit of former form described in described content graph layer; By described col width event binding to the forms corresponding with described former form.
A kind of form operational approach provided by the invention and device, wherein, the method includes: obtain input parameter, and described input parameter includes form mark;Obtain the form data of the former form corresponding with described form mark, and according to described form data, described former form is carried out replication processes, obtain the duplication gauge outfit corresponding with the gauge outfit of described former form, respectively described former form and described duplication gauge outfit create layer, and obtain the content graph layer corresponding with described former form and the gauge outfit figure layer corresponding with described duplication gauge outfit, utilize described gauge outfit figure layer to cover the position that the gauge outfit of former form described in described content graph layer is corresponding, and be described gauge outfit figure layer and described content graph layer establishment frame diagram layer, arrange described gauge outfit figure layer position in described frame diagram layer to immobilize. in technical characteristic disclosed in the present application, former form is replicated and obtains the duplication gauge outfit consistent with the gauge outfit of former form, create layer for replicating gauge outfit and former form, utilize the gauge outfit part replicated in the content graph layer that gauge outfit figure layer covering corresponding to gauge outfit is corresponding with former form, so that the gauge outfit of former form does not show, and, arrange gauge outfit figure layer position in frame diagram layer to immobilize, so that former table content long need to its carry out rolling check time, the position replicating gauge outfit immobilizes, facilitate user that the table content of former form is checked with the comparison replicating gauge outfit, improve the work efficiency of user.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, accompanying drawing in the following describes is only embodiments of the invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to the accompanying drawing provided.
The flow chart of a kind of form operational approach that Fig. 1 provides for the embodiment of the present invention;
The schematic diagram of a kind of form operational approach Central Plains form that Fig. 2 provides for the embodiment of the present invention;
For replicating gauge outfit and former form creates layer and schematic diagram after frame diagram layer in a kind of form operational approach that Fig. 3 provides for the embodiment of the present invention;
A kind of form operational approach that Fig. 4 provides for the embodiment of the present invention utilizes the schematic diagram behind position corresponding to the gauge outfit of gauge outfit figure layer overlay content figure layer Central Plains form;
The design sketch of target table in a kind of form operational approach that Fig. 5 provides for the embodiment of the present invention;
The structural representation of a kind of form operation device that Fig. 6 provides for the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments. Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention.
Refer to Fig. 1, it illustrates the flow chart of a kind of form operational approach that the embodiment of the present invention provides, it is possible to comprise the following steps:
S11: obtaining input parameter, input parameter includes form mark.
It should be noted that form mark is corresponding with former form, i.e. form mark can be passed through and determine the former form of correspondence.
Corresponding, define incoming option, the input parameter namely obtained, it is specifically as follows:
Wherein, the content corresponding for sequence, screening and inquiry sees below middle explanation, and, it is necessary to when the Column Properties of sequence is not empty, comprise sequence mark with input parameter corresponding, namely need the Column Properties of sequence not for representing time empty that input parameter includes sequence mark; Screening is designated true, when namely screening, comprises screening mark with input parameter corresponding, and namely screening represents when being designated true that input parameter includes screening mark;Inquiry is designated true, when namely inquiring about, comprises inquiry mark with input parameter corresponding, and namely inquiry represents when being designated true that input parameter includes inquiry mark.
S12: obtain the form data of the former form corresponding with form mark, and according to form data, former form is carried out replication processes, obtain the duplication gauge outfit corresponding with the gauge outfit of former form.
It should be noted that, form data is the information corresponding with former form, as the current positional information of former form, the height of former form and width can be included, and the height and width etc. of former form current parent's element, the replication processes for former form is realized with the form data according to former form, and then obtaining replicating gauge outfit, the content that duplication gauge outfit comprises is identical with the content that the gauge outfit of former form comprises, and namely replicates the copy of the gauge outfit that gauge outfit is former form. It is further to note that, gauge outfit is the beginning part of corresponding form, it can be the overview reaction of his-and-hers watches lattice content, if table content is specify the identity information of surveyee, then gauge outfit can include specifying the sex of surveyee, age, educational background, income, kinsfolk's composition, political background, economic situation etc.; Meanwhile, gauge outfit may refer to of beginning of table part, the age in above-mentioned example, it is also possible to refers to whole items of beginning of table part.
Additionally, a kind of form operational approach that the embodiment of the present invention provides can apply to WEB client side, and realize based on jQuery, wherein, jQuery is the javascript storehouse of a many browser of compatibility, it obtains DOM (DocumentObjectModel by selector, DOM Document Object Model) element in document processing, namely the present invention utilizes the functional realiey operations to form such as the jQuery element provided acquisition, interpolation, to realize for existing form, i.e. the secondary development of former form. Corresponding, step S12 can be the form data automatically being obtained former form by jQuery, and then obtains replicating gauge outfit.
S13: respectively former form and duplication gauge outfit create layer, obtains the content graph layer corresponding with former form and the gauge outfit figure layer corresponding with replicating gauge outfit.
Specifically, by replicating the information creating gauge outfit figure layer of gauge outfit, so that gauge outfit figure layer parcel replicates gauge outfit; By replicating the information creating content graph layer of former form, so that content graph layer wraps up former form.
S14: utilize the position that the gauge outfit of gauge outfit figure layer overlay content figure layer Central Plains form is corresponding, creates frame diagram layer for gauge outfit figure layer and content graph layer.
It should be noted that, the foundation step of frame diagram layer can before the position that the gauge outfit utilizing gauge outfit figure layer overlay content figure layer Central Plains form is corresponding, after the position that the gauge outfit utilizing gauge outfit figure layer overlay content figure layer Central Plains form is corresponding, can also be not specifically limited at this. And what frame diagram layer specifically created in the outside of gauge outfit figure layer and content graph layer, create after frame diagram layer, frame diagram layer replace former form to become before the node of father's element.
And utilize position corresponding to the gauge outfit of gauge outfit figure layer overlay content figure layer Central Plains form, specifically, can pass through to arrange height and the position of gauge outfit figure layer, content graph layer and frame diagram layer, gauge outfit figure layer is made just to cover above the gauge outfit of the former form that content graph layer comprises, so that the gauge outfit of former form that content graph layer comprises does not show.
It addition, statement corresponding to step S12 to step S14 can be:
Var_tab=$ el;
Var_tabHeader=_tab.clone (true); // replicate former form
VarheaderId=" _ "+id+ " _ header ";
_ tabHeader.attr (" id ", headerId);
_ tabHeader.find (" tbody ") .remove (); // delete the table content replicating form, only retain gauge outfit
Var_fixedDiv="<divid=′_fixed_div_"+id+"′></div>";
Var_headDiv="<divid=′_header_div_"+id+"′></div>";
Var_contDiv="<divid=′_cont_div_"+id+"′></div>";
_ tab.before (_ tabHeader); // add and replicate gauge outfit
_ tab.wrap (_ contDiv); // create content graph layer
_ tabHeader=$ (" # "+headerId);
_ tabHeader.wrap (_ headDiv); // create gauge outfit figure layer
_ headDiv=$ (" #_header_div_ "+id);
_ contDiv=$ (" #_cont_div_ "+id);
_ headDiv.wrap (_ fixedDiv); // create frame diagram layer
_ fixedDiv=$ (" #_fixed_div_ "+id);
_ fixedDiv.append (_ contDiv);
.........
It should be noted that above-mentioned statement replicates table content in form about deletion only retain being discussed in detail during its gauge outfit specifically sees below.
S15: gauge outfit figure layer position in frame diagram layer is set and immobilizes.
Specifically, the position arranging gauge outfit figure layer immobilizes, the scroll bar that specifically can be through amendment frame diagram layer, gauge outfit figure layer and content graph layer corresponding arranges realization, so that the position of gauge outfit figure layer immobilizes, and the content that content graph layer comprises can roll displaying.
Statement corresponding for step S15 can be:
// scroll bar of frame diagram layer and height are set
_ fixedDiv.parent () .css (" overflow ", " hidden ");
_ fixedDiv.css (" overflow ", " hidden ");
_ fixedDiv.css (" height ", _ tab_height);
_ headDiv.css (" overflow ", " hidden ");
_ contDiv.css (" overflow-y ", " auto ");
_ contDiv.css (" height ", " 100% ");
.........
// position of gauge outfit figure layer, height and width are set
_ headDiv.css (" position ", " fixed ");
_ headDiv.css (" background-color ", " white ");
_ headDiv.css (" x ", _ x);
_ headDiv.css (" y ", _ y);
_ headDiv.css (" height ", _ height);
_ tabHeader.css (" height ", " 100% ");
Wherein, the schematic diagram of former form is shown in Figure 2, for replicate gauge outfit and former form creates layer and schematic diagram after frame diagram layer as shown in Figure 3 (wherein, former gauge outfit represents the gauge outfit of former form), utilize the schematic diagram behind position corresponding to the gauge outfit of gauge outfit figure layer overlay content figure layer Central Plains form as shown in Figure 4.
By technique scheme disclosed in the present application, realize the secondary development for former form, specifically, first former form is replicated and obtain the duplication gauge outfit consistent with the gauge outfit of former form, create layer for replicating gauge outfit and former form, utilize the gauge outfit replicated in the content graph layer that gauge outfit figure layer covering corresponding to gauge outfit is corresponding with former form, so that the gauge outfit of former form does not show, and, arrange gauge outfit figure layer position in frame diagram layer to immobilize, so that former table content long need to its carry out rolling check time, the position replicating gauge outfit immobilizes, facilitate user that the table content of former form is checked with the comparison replicating gauge outfit, improve the work efficiency of user.
It addition, technique scheme disclosed in the present application is simple to operate, it is achieved convenient, and be easily maintained, only need to be automatically obtained immobilizing of gauge outfit position according to form mark, there is good ease for use, it is possible to be widely used in the technical fields such as Java language WEB development technique.
In a kind of form processing method that above-described embodiment provides, according to form data, former form is carried out replication processes, obtain the duplication gauge outfit corresponding with the gauge outfit of former form, it is possible to be directly the gauge outfit in former form is replicated, obtain the duplication gauge outfit of correspondence, it is also possible to including:
According to form data, former form is replicated, obtain the duplication form corresponding with former form; Delete replicating copy table content corresponding with the table content of former form in form, obtain the duplication gauge outfit corresponding with the gauge outfit of former form.
That is, first being replicated by former form, obtain replicating form, then the table content replicated in form deleted, only conservative replication gauge outfit, wherein, table content refers to the other guide in corresponding form except gauge outfit. Arrange it is of course also possible to carry out other according to actual needs, all within protection scope of the present invention.
In a kind of form processing method that the embodiment of the present invention provides, input parameter is under the premise including form mark, width can also be included arrange value, highly arrange value, screen mark, inquiry mark and sequence mark etc. and the operation corresponding different when input parameter comprises different information.
Wherein, when input parameter also include width value is set and highly value is set time, the embodiment of the present invention offer a kind of form processing method can also include:
Creating frame diagram layer for gauge outfit figure layer and content graph layer, and be set to highly arrange value by the height of frame diagram layer, the width of frame diagram layer is set to width and arranges value.
It should be noted that, the form being made up of duplication gauge outfit and former form is called target table by the embodiment of the present invention, and the width of frame diagram layer and height are consistent with the width of target table and height, it is the height for target table and the setting of width accordingly, for the height of frame diagram layer and the reality that arranges of width. Before the height of frame diagram layer and width are configured, can first judge that whether the width that width arranges value current with frame diagram layer is consistent, and whether the width that highly arranges value current with frame diagram layer is consistent, if, then without the height of frame diagram layer or width are configured, as long as above-mentioned two have one inconsistent, then according to highly arranging value and width arranges value height and width to frame diagram layer and is configured, so that the height of target table and width arrange value with width and highly to arrange value consistent. Judge whether that width arranges value and highly arranges value, and when there is width and arranging value and highly arrange value, by the width of frame diagram layer and be highly respectively set to width and arrange value and highly arrange the statement of value corresponding in step S11: $ .extend (this.option, option); // incoming option and above-mentioned default option are carried out or operate, if existed, use input option.
When inputting parameter and also including screening mark, a kind of form operational approach that the embodiment of the present invention provides can also include:
Screening assembly is set;
Definition filter events, and will screening assembly and filter events binding, wherein, filter events be according to the external world in screening assembly the screening conditions of input to frame diagram layer in the content that comprises screen.
It should be noted that screening assembly may be located at any position pre-set, as first-class in gauge outfit figure layer; It can be specifically combobox, and the drop-down content of correspondence can be the Column Properties of target table, it can also be the row attribute of target table, wherein, Column Properties is show the attribute of each column content in target table, gauge outfit etc. as corresponding in each column, and row attribute is show the attribute of each row content in target table, specifically can be configured according to actual needs, not repeat them here; And then choose in drop-down content, row that the Column Properties chosen is corresponding or row corresponding to row attribute display, and other are then hidden. It is of course also possible to drop-down content is defaulted as state of entirely selecting, namely the full content of target table all normally shows, and then when user cancels and choosing, is cancelled row corresponding to the row attribute chosen or row corresponding to Column Properties are hidden. Wherein, user chooses, what drop-down content was carried out, the screening conditions being correspondence.
The realizing statement and can be of the technical characteristic corresponding with above-mentioned screening:
When inputting parameter and also including inquiry mark, a kind of form operational approach that the embodiment of the present invention provides can also include:
Enquiring component is set;
Definition query event, and by enquiring component and query event binding, wherein, query event is that the content comprised in frame diagram layer is inquired about by the querying condition inputted in enquiring component according to the external world.
It should be noted that enquiring component may be located at any position pre-set, as first-class in gauge outfit figure layer. Specifically, enquiring component can be keyword input frame, and then when user inputs keyword in keyword input frame, the content including keyword is inquired about, and the content inquired is carried out Special display, as the content inquired is carried out highlighted displaying, the content being about to inquire is automatically set as redness and adds boldface type or black adds the contour bright state of boldface type. Wherein, the keyword of user's input is querying condition. Arrange it is of course also possible to carry out other according to actual needs, all within protection scope of the present invention, do not repeat them here.
The realizing statement and can be of technical characteristic corresponding to above-mentioned inquiry:
When inputting parameter and also including sequence mark, a kind of form operational approach that the embodiment of the present invention provides can also include:
Sequencing assembly is set;
Definition sequence event, and by sequencing assembly and sequence event binding, wherein, sequence event is that the content comprised in frame diagram layer is ranked up by the ordering instruction inputted in sequencing assembly according to the external world.
It should be noted that sequencing assembly may be located at any position pre-set, such as gauge outfit figure layer etc. Specifically, sequencing assembly can be sequence input frame, user will need the attribute of row or the row correspondence being ranked up, i.e. Column Properties or row attribute, and sortord, as from high to low, from large to small etc., input is to sequence input frame, and then is automatically ranked up for the content in the target table corresponding with the content of user's input. Wherein, the content of user's input is ordering instruction. Now, sequencing assembly only needs one, it is of course also possible to arrange multiple simultaneously, specifically, arranges sequencing assembly, it is possible to including: each column for comprising in gauge outfit figure layer is respectively provided with sequencing assembly.
Corresponding, define sequence event, it is possible to including:
Definition sequence event, sequence event is the ordering instruction inputted in sequencing assembly according to the external world, according to the row content corresponding with this sequencing assembly, the content comprised in frame diagram layer is ranked up.
That is, being respectively provided with a sequencing assembly for each column of gauge outfit figure layer, and sequencing assembly can be a combobox, following content is sortord, as from high to low etc. When user needs according to the content of certain string, target table to be ranked up, it is only necessary to choose sortord in the gauge outfit position combobox that these row are corresponding, can be that target table carries out the sequence corresponding with sortord according to the content of these row. Wherein, the sortord that user chooses at either rank is ordering instruction.
The realizing statement and can be of the technical characteristic corresponding with above-mentioned sequence:
By above-mentioned technical characteristic, the embodiment of the present invention separates with content graph layer realizing gauge outfit figure layer, namely when target table content is checked in rolling under the premise of the invariant position of copy table head, can be arranged to according to actual needs target table is screened, inquire about and the function such as sequence, the perfect function of target table, improve Consumer's Experience so that target table has good versatility. It addition, when the target table obtained in a kind of form operational approach of embodiment of the present invention offer has screening, sequence and query function, its design sketch can be as shown in Figure 5 simultaneously.
It addition, a kind of form operational approach that the embodiment of the present invention provides, it is also possible to including:
Definition col width event, the content of col width event is that the col width replicating gauge outfit in gauge outfit figure layer keeps consistent with the col width of the gauge outfit of content graph layer Central Plains form;
By col width event binding to the forms corresponding with former form.
Wherein, forms are the forms including target table, pass through above-mentioned steps, when user needs the size of forms is made a change, can automatically trigger the col width replicating gauge outfit and keep consistent with the col width of the gauge outfit of former form, and the col width of the gauge outfit of former form, namely the col width of former form keeps consistent with the size of forms, it is thus possible to support dynamically adapting when frame size adjusts, target table is made normally to show further when forms change. It addition, the statement corresponding with this technical characteristic can be:
It is further to note that the statement realized in a kind of form operational approach of embodiment of the present invention offer can be determined according to actual needs, the above example being only when correspondence is embodied as.
Corresponding with said method embodiment, the embodiment of the present invention additionally provides a kind of form operation device, as shown in Figure 6, it is possible to including:
Acquisition module 11, is used for obtaining input parameter, and input parameter includes form mark; And for obtaining the form data of the former form corresponding with form mark;
Processing module 12, for former form being carried out replication processes according to form data, obtains the duplication gauge outfit corresponding with the gauge outfit of former form;
Figure layer creation module 13, creates layer for respectively former form and duplication gauge outfit, obtains the content graph layer corresponding with former form and the gauge outfit figure layer corresponding with replicating gauge outfit; And for utilizing position corresponding to the gauge outfit of gauge outfit figure layer overlay content figure layer Central Plains form, and be gauge outfit figure layer and content graph layer establishment frame diagram layer;
Position arranges module 14, immobilizes for arranging gauge outfit figure layer position in frame diagram layer.
By technique scheme disclosed in the present application, realize the secondary development for former form, specifically, first former form is replicated and obtain the duplication gauge outfit consistent with the gauge outfit of former form, create layer for replicating gauge outfit and former form, utilize the gauge outfit replicated in the content graph layer that gauge outfit figure layer covering corresponding to gauge outfit is corresponding with former form, so that the gauge outfit of former form does not show, and, arrange gauge outfit figure layer position in frame diagram layer to immobilize, so that former table content long need to its carry out rolling check time, the position replicating gauge outfit immobilizes, facilitate user that the table content of former form is checked with the comparison replicating gauge outfit, improve the work efficiency of user.
In a kind of form operation device that the embodiment of the present invention provides, figure layer creation module may include that
Parameter set unit, for creating frame diagram layer for gauge outfit figure layer and content graph layer, and is set to highly arrange value by the height of frame diagram layer, and the width of frame diagram layer is set to width and arranges value.Wherein, value is highly set and width arranges value for comprising in input parameter.
In a kind of form operation device that the embodiment of the present invention provides, it is also possible to including:
Col width arranges module, is used for: definition col width event, and the content of col width event is that the col width replicating gauge outfit in gauge outfit figure layer keeps consistent with the col width of the gauge outfit of content graph layer Central Plains form; By col width event binding to the forms corresponding with former form.
In a kind of form operation device that the embodiment of the present invention provides, processing module may include that
Processing unit, is used for: according to form data, former form is replicated, obtains the duplication form corresponding with former form; Delete replicating copy table content corresponding with the table content of former form in form, obtain the duplication gauge outfit corresponding with the gauge outfit of former form.
In a kind of form operation device that the embodiment of the present invention provides, it is also possible to including:
Screening arranges module, is used for: arrange screening assembly; Definition filter events, and will screening assembly and filter events binding, wherein, filter events be according to the external world in screening assembly the screening conditions of input to frame diagram layer in the content that comprises screen. Wherein, screening is designated in input parameter and comprises.
In a kind of form operation device that the embodiment of the present invention provides, it is also possible to including:
Inquiry arranges module, is used for: arrange enquiring component; Definition query event, and by enquiring component and query event binding, wherein, query event is that the content comprised in frame diagram layer is inquired about by the querying condition inputted in enquiring component according to the external world. Wherein, inquiry is designated in input parameter and comprises.
In a kind of form operation device that the embodiment of the present invention provides, input parameter also includes sequence mark, it is also possible to including:
Sequence arranges module, is used for: arrange sequencing assembly; Definition sequence event, and by sequencing assembly and sequence event binding, wherein, sequence event is that the content comprised in frame diagram layer is ranked up by the ordering instruction inputted in sequencing assembly according to the external world. Wherein, sequence is designated in input parameter and comprises.
In a kind of form operation device that the embodiment of the present invention provides, sequence arranges module and may include that
Sequence arranges unit, for being respectively provided with sequencing assembly for each column comprised in gauge outfit figure layer;
Event definition unit, is used for defining sequence event, and sequence event is the ordering instruction inputted in sequencing assembly according to the external world, according to the row content corresponding with this sequencing assembly, the content comprised in frame diagram layer is ranked up.
In a kind of form operation device that the embodiment of the present invention provides, the explanation of relevant portion refers to the detailed description of corresponding part in a kind of form operational approach that above-described embodiment provides, and does not repeat them here.
Described above to the disclosed embodiments, makes those skilled in the art be capable of or uses the present invention. The multiple amendment of these embodiments be will be apparent from for a person skilled in the art, and generic principles defined herein can without departing from the spirit or scope of the present invention, realize in other embodiments. Therefore, the present invention is not intended to be limited to the embodiments shown herein, and is to fit to the widest scope consistent with principles disclosed herein and features of novelty.

Claims (10)

1. a form operational approach, it is characterised in that including:
Obtaining input parameter, described input parameter includes form mark;
Obtain the form data of the former form corresponding with described form mark, and according to described form data, described former form is carried out replication processes, obtain the duplication gauge outfit corresponding with the gauge outfit of described former form;
Respectively described former form and described duplication gauge outfit create layer, and obtain the content graph layer corresponding with described former form and the gauge outfit figure layer corresponding with described duplication gauge outfit;
Utilize described gauge outfit figure layer to cover the position that the gauge outfit of former form described in described content graph layer is corresponding, and be described gauge outfit figure layer and described content graph layer establishment frame diagram layer;
Arrange described gauge outfit figure layer position in described frame diagram layer to immobilize.
2. method according to claim 1, it is characterised in that described input parameter also includes width and arranges value and highly arrange value, and described method also includes:
Creating frame diagram layer for described gauge outfit figure layer and described content graph layer, and the height of described frame diagram layer is set to described height arranges value, the width of described frame diagram layer is set to described width and arranges value.
3. method according to claim 2, it is characterised in that described former form is carried out replication processes according to described form data, obtains the duplication gauge outfit corresponding with the gauge outfit of described former form, including:
According to described form data, described former form is replicated, obtain the duplication form corresponding with described former form;
Copy table content corresponding with the table content of described former form in described duplication form is deleted, obtains the duplication gauge outfit corresponding with the gauge outfit of described former form.
4. method according to claim 1, it is characterised in that described input parameter also includes screening mark, and described method also includes:
Screening assembly is set;
Definition filter events, and by described screening assembly and the binding of described filter events, wherein, described filter events is that the content comprised in described frame diagram layer is screened by the screening conditions inputted in described screening assembly according to the external world.
5. method according to claim 1, it is characterised in that described input parameter also includes inquiry mark, and described method also includes:
Enquiring component is set;
Definition query event, and by described enquiring component and the binding of described query event, wherein, described query event is that the content comprised in described frame diagram layer is inquired about by the querying condition inputted in described enquiring component according to the external world.
6. method according to claim 1, it is characterised in that described input parameter also includes sequence mark, and described method also includes:
Sequencing assembly is set;
Definition sequence event, and by described sequencing assembly and described sequence event binding, wherein, described sequence event is that the content comprised in described frame diagram layer is ranked up by the ordering instruction inputted in described sequencing assembly according to the external world.
7. method according to claim 6, it is characterised in that sequencing assembly is set, including:
Each column for comprising in described gauge outfit figure layer is respectively provided with sequencing assembly;
Corresponding, define sequence event, including:
Definition sequence event, described sequence event is the ordering instruction inputted in described sequencing assembly according to the external world, according to the row content corresponding with this sequencing assembly, the content comprised in described frame diagram layer is ranked up.
8. the method according to any one of claim 1 to 7, it is characterised in that also include:
Definition col width event, the content of described col width event is that the col width replicating gauge outfit described in described gauge outfit figure layer keeps consistent with the col width of the gauge outfit of former form described in described content graph layer;
By described col width event binding to the forms corresponding with described former form.
9. a form operation device, it is characterised in that including:
Acquisition module, is used for obtaining input parameter, and described input parameter includes form mark;And for obtaining the form data of the former form corresponding with described form mark;
Processing module, for described former form being carried out replication processes according to described form data, obtains the duplication gauge outfit corresponding with the gauge outfit of described former form;
Figure layer creation module, creates layer for respectively described former form and described duplication gauge outfit, obtains the content graph layer corresponding with described former form and the gauge outfit figure layer corresponding with described duplication gauge outfit; And for utilizing described gauge outfit figure layer to cover the position that the gauge outfit of former form described in described content graph layer is corresponding, and it is described gauge outfit figure layer and described content graph layer establishment frame diagram layer;
Position arranges module, immobilizes for arranging described gauge outfit figure layer position in described frame diagram layer.
10. method according to claim 9, it is characterised in that also include:
Col width arranges module, is used for: definition col width event, and the content of described col width event is that the col width replicating gauge outfit described in described gauge outfit figure layer keeps consistent with the col width of the gauge outfit of former form described in described content graph layer; By described col width event binding to the forms corresponding with described former form.
CN201511001039.6A 2015-12-28 2015-12-28 Table operation method and apparatus Pending CN105677627A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511001039.6A CN105677627A (en) 2015-12-28 2015-12-28 Table operation method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511001039.6A CN105677627A (en) 2015-12-28 2015-12-28 Table operation method and apparatus

Publications (1)

Publication Number Publication Date
CN105677627A true CN105677627A (en) 2016-06-15

Family

ID=56297680

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511001039.6A Pending CN105677627A (en) 2015-12-28 2015-12-28 Table operation method and apparatus

Country Status (1)

Country Link
CN (1) CN105677627A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107203553A (en) * 2016-03-17 2017-09-26 北京神州泰岳软件股份有限公司 A kind of method and apparatus for realizing the locking of web page form row/column
CN107391158A (en) * 2017-08-02 2017-11-24 郑州云海信息技术有限公司 A kind of method and apparatus that form drafting is realized based on iDataTable encapsulation
CN108228176A (en) * 2016-12-15 2018-06-29 北京国双科技有限公司 The creation method and creating device of a kind of table
CN109284488A (en) * 2018-09-06 2019-01-29 郑州云海信息技术有限公司 Based on the method, apparatus and medium that modification front end table column data is locally stored
CN109522533A (en) * 2018-10-12 2019-03-26 平安科技(深圳)有限公司 Table edit method, apparatus, equipment and medium based on web data
CN111832271A (en) * 2020-07-20 2020-10-27 北京百度网讯科技有限公司 Data presentation method and device, electronic equipment and storage medium
WO2021008071A1 (en) * 2019-07-16 2021-01-21 广州视源电子科技股份有限公司 Table processing method and apparatus, and intelligent interactive tablet and storage medium
CN112966481A (en) * 2019-12-13 2021-06-15 北京懿医云科技有限公司 Data table display method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070136654A1 (en) * 2005-12-12 2007-06-14 Peters Johan C Method and system for ordered resizing columns in a table
CN101065723A (en) * 2004-11-26 2007-10-31 菲利普·K·钦 Method of displaying data in a table
CN102479103A (en) * 2010-11-23 2012-05-30 金蝶软件(中国)有限公司 Method, device and communication terminal for duplicating information of control

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101065723A (en) * 2004-11-26 2007-10-31 菲利普·K·钦 Method of displaying data in a table
US20070136654A1 (en) * 2005-12-12 2007-06-14 Peters Johan C Method and system for ordered resizing columns in a table
CN102479103A (en) * 2010-11-23 2012-05-30 金蝶软件(中国)有限公司 Method, device and communication terminal for duplicating information of control

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
ERPLABOUR: "web 纯CSS固定表头滚动内容且表头对齐-附自动内容滚动JavaScript", 《HTTP://BLOG.CSDN.NET/ERPLABOUR/ARTICLE/DETAILS/21227499》 *
赵晓红: "《After Effects CS5标准教程》", 31 May 2012 *
陈砣等: "基于WEB的棉花信息管理及施肥推荐决策支持系统建立研究", 《土壤》 *

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107203553A (en) * 2016-03-17 2017-09-26 北京神州泰岳软件股份有限公司 A kind of method and apparatus for realizing the locking of web page form row/column
CN108228176A (en) * 2016-12-15 2018-06-29 北京国双科技有限公司 The creation method and creating device of a kind of table
CN107391158A (en) * 2017-08-02 2017-11-24 郑州云海信息技术有限公司 A kind of method and apparatus that form drafting is realized based on iDataTable encapsulation
CN109284488A (en) * 2018-09-06 2019-01-29 郑州云海信息技术有限公司 Based on the method, apparatus and medium that modification front end table column data is locally stored
CN109284488B (en) * 2018-09-06 2021-11-19 郑州云海信息技术有限公司 Method, device and medium for modifying front-end table column data based on local storage
CN109522533A (en) * 2018-10-12 2019-03-26 平安科技(深圳)有限公司 Table edit method, apparatus, equipment and medium based on web data
WO2021008071A1 (en) * 2019-07-16 2021-01-21 广州视源电子科技股份有限公司 Table processing method and apparatus, and intelligent interactive tablet and storage medium
US11372540B2 (en) 2019-07-16 2022-06-28 Guangzhou Shiyuan Electronic Technology Company Limited Table processing method, device, interactive white board and storage medium
CN112966481A (en) * 2019-12-13 2021-06-15 北京懿医云科技有限公司 Data table display method and device
CN112966481B (en) * 2019-12-13 2023-09-29 北京懿医云科技有限公司 Data form display method and device
CN111832271A (en) * 2020-07-20 2020-10-27 北京百度网讯科技有限公司 Data presentation method and device, electronic equipment and storage medium
CN111832271B (en) * 2020-07-20 2023-08-18 北京百度网讯科技有限公司 Data presentation method, device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN105677627A (en) Table operation method and apparatus
US11514033B2 (en) System for providing dynamic linked panels in user interface
US11475097B1 (en) Simplified website creation, configuration, and customization system
US10542123B2 (en) System and method for generating and monitoring feedback of a published webpage as implemented on a remote client
US7383498B1 (en) Editing styles for markup documents using parametrized styles sheets
CN109446570B (en) Business process display method, device, computer equipment and storage medium
CN104731589A (en) Automatic generation method and device of user interface (UI)
CN104657451B (en) The processing method and processing device of the page
JP2007065741A (en) Graph display device and program
US7404142B1 (en) Systems and method for rapid presentation of structured digital content items
RU2003112730A (en) SYSTEM AND METHOD FOR USER MODIFICATION OF METADATA IN A BROWSER-SHELL
US20150317042A1 (en) System and Methods for Loading an Application and its Modules in a Client Device
US10884694B1 (en) Conversational analytics with data visualization snapshots
US20180046472A1 (en) Method and system for customizing desktop launcher of mobile terminal
WO2022048141A1 (en) Image processing method and apparatus, and computer readable storage medium
CN103077022A (en) Visual operation configuration method and device for operation flow
CN104615431A (en) Method and device for achieving Web application
EP1895407A1 (en) HMI development support apparatus, HMI development support method and HMI development support program
JP2007184920A (en) Image managing device and method for mobile terminals
JP5393073B2 (en) Document management apparatus, method, and program
US9342530B2 (en) Method for skipping empty folders when navigating a file system
JP2012163989A (en) Image retrieval device, image retrieval method and image retrieval program
CN106155460A (en) A kind of object selection method and device
WO2014050960A1 (en) Electronic publication creation device, electronic publication creation method, electronic publication perusal system, viewer device, and electronic publication perusal method
CN105426058A (en) Menu bar custom setting supporting system and method for setting menu bar in custom manner

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160615

RJ01 Rejection of invention patent application after publication