CN109670157A - A kind of control method and relevant device of table height - Google Patents
A kind of control method and relevant device of table height Download PDFInfo
- Publication number
- CN109670157A CN109670157A CN201811593015.8A CN201811593015A CN109670157A CN 109670157 A CN109670157 A CN 109670157A CN 201811593015 A CN201811593015 A CN 201811593015A CN 109670157 A CN109670157 A CN 109670157A
- Authority
- CN
- China
- Prior art keywords
- height
- subpage frame
- setting
- window
- parent page
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
- G06F40/177—Editing, e.g. inserting or deleting of tables; using ruled lines
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Abstract
The embodiment of the present application discloses the control method and relevant device of a kind of table height, for the display of optimization table, promotes user experience.The embodiment of the present application method includes: to obtain the setting instruction of table display pattern in subpage frame;When setting instruction indicates that the table display pattern is that window is adaptive, the window height of parent page is obtained, there are corresponding relationships with the subpage frame for the parent page;Determine that the target table height in the subpage frame, the target table height indicate the height that the table in the subpage frame is completely shown according to the window height of the parent page;Height setting is carried out to the table in the subpage frame using the target table height.Wherein, height setting is carried out to the table in subpage frame using target table height, the height that table in target table height instruction subpage frame is completely shown, i.e., the table height in subpage frame can be adapted to the window height of parent page, realize the optimization shown to table in subpage frame.
Description
Technical field
This application involves field of computer technology more particularly to a kind of control methods and relevant device of table height.
Background technique
Table, also known as table are a kind of visualization AC mode, and are a kind of means of tissue arrangement data.People
Panoramic table is widely used in Communication, scientific research and data analytic activity, with context
Difference can also be varied for definitely describing convention and the term of table.
The parameter setting of row and column is generally comprised in form attributes setting, controls the setting of table height parameter in the prior art
Method there is content-adaptive setting to go automatic computation sheet height that is, according to the number of the particular content of table.However, working as
When the content of table is excessive or very few, display height can be too long or too short, and when the content of table is excessive, shows performance
Relatively slow, user experience is poor.
Summary of the invention
The embodiment of the present application provides the control method and relevant device of a kind of table height, for the aobvious of optimization table
Show, promotes user experience.
The embodiment of the present application first aspect provides a kind of control method of table height characterized by comprising
Obtain the setting instruction of table display pattern in subpage frame;
When setting instruction indicates that the table display pattern is that window is adaptive, the window for obtaining parent page is high
Degree, there are corresponding relationships with the subpage frame for the parent page;
The target table height in the subpage frame, the target table are determined according to the window height of the parent page
Height indicates the height that the table in the subpage frame is completely shown;
Height setting is carried out to the table in the subpage frame using the target table height.
Optionally, the target table height in the subpage frame is determined in the window height according to the parent page
Before, the method also includes:
Control height is obtained, the control height includes the control height of the parent page and/or the control of the subpage frame
Part height;
The window height according to the parent page determines that the height of the target table in the subpage frame specifically includes:
Determine that the target table in the subpage frame is high according to the window height of the parent page and control height
Degree.
Optionally, the table in the subpage frame is carried out using the target table height it highly is arranged described
Afterwards, the method also includes:
Undated parameter is obtained, the undated parameter includes the window height and/or updated control of updated parent page
Part height;
The target table height in the subpage frame is updated according to the undated parameter.
Optionally, in the acquisition subpage frame after the setting instruction of table display pattern, the method also includes:
When setting instruction indicates that the table display pattern is fixed height, the first height value is obtained;
Height setting is carried out to the table in the subpage frame using first height value.
Optionally, in the acquisition subpage frame after the setting instruction of table display pattern, the method also includes:
When setting instruction indicates that the table display pattern is content-adaptive, the table in the subpage frame is obtained
Lattice parameter, the table parameter include table item number and table row height in the subpage frame;
Content-adaptive calculating is carried out to the table in the subpage frame according to the table parameter, determines the second height
Value;
Height setting is carried out to the table in the subpage frame using second height value.
Optionally, described after carrying out height setting to the table in the subpage frame using second height value
Method further include:
Lock instruction is obtained, the lock instruction, which is used to indicate, locks the table height in the subpage frame;
The table height in the subpage frame is locked using second height value according to the lock instruction.
The embodiment of the present application second aspect provides a kind of control system of table height, comprising:
First acquisition unit, the setting for obtaining table display pattern in subpage frame instruct;
Second acquisition unit, for obtaining when setting instruction indicates that the table display pattern is that window is adaptive
The window height of parent page is taken, there are corresponding relationships with the subpage frame for the parent page;
First determination unit, for determining the target table in the subpage frame according to the window height of the parent page
Highly, the target table height indicates the height that the table in the subpage frame is completely shown;
First setting unit is set for carrying out height to the table in the subpage frame using the target table height
It sets.
Optionally, the system also includes:
Third acquiring unit, for obtaining control height, the control height include the parent page control height and/
Or the control height of the subpage frame;
First determination unit is specifically used for being determined according to the window height of the parent page and control height
Target table height in the subpage frame.
Optionally, the system also includes:
4th acquiring unit, for obtaining undated parameter, the undated parameter includes that the window of updated parent page is high
Degree and/or updated control height;
Updating unit, for being updated according to the undated parameter to the target table height in the subpage frame.
Optionally, the system also includes:
5th acquiring unit, for obtaining when setting instruction indicates that the table display pattern is fixed height
First height value;
Second setting unit, for using first height value to carry out height setting to the table in the subpage frame.
Optionally, the system also includes:
6th acquiring unit, for obtaining when setting instruction indicates that the table display pattern is content-adaptive
The table parameter in the subpage frame is taken, the table parameter includes table item number and table row height in the subpage frame;
Second determination unit, by being carried out based on content-adaptive according to the table parameter to the table in the subpage frame
It calculates, determines the second height value;
Third setting unit, for using second height value to carry out height setting to the table in the subpage frame.
Optionally, the system also includes:
7th acquiring unit, for obtaining lock instruction, the lock instruction is used to indicate to the table in the subpage frame
Lattice height is locked;
Lock cell, for high to the table in the subpage frame using second height value according to the lock instruction
Degree is locked.
The embodiment of the present application third aspect provides a kind of computer installation, comprising:
Processor, memory, input-output equipment and bus;
The processor, memory, input-output equipment are connected with the bus respectively;
The processor is used to execute the method as described in any one of preceding method embodiment.
The embodiment of the present application fourth aspect provides a kind of computer readable storage medium, is stored thereon with computer journey
Sequence, it is characterised in that: the side as described in any one of preceding method embodiment is realized when the computer program is executed by processor
The step of method.
As can be seen from the above technical solutions, the embodiment of the present application has the advantage that obtaining table in subpage frame shows
The setting of mode instructs;When setting instruction indicates that the table display pattern is that window is adaptive, parent page is obtained
Window height, there are corresponding relationships with the subpage frame for the parent page;Institute is determined according to the window height of the parent page
The target table height in subpage frame is stated, the target table height indicates the height that the table in the subpage frame is completely shown
Degree;Height setting is carried out to the table in the subpage frame using the target table height.Wherein, using the target table
Height carries out height setting to the table in the subpage frame, and the target table height indicates that the table in the subpage frame is complete
The height of whole display, i.e., the table height in subpage frame can be adapted to the window height of parent page, realize to sub- page tabular
Display optimization promotes user experience.
Detailed description of the invention
Fig. 1 is an a kind of schematic diagram of the control method embodiment of table height in the embodiment of the present application;
Fig. 2 is a kind of another schematic diagram of the control method embodiment of table height in the embodiment of the present application;
Fig. 3 is a kind of another schematic diagram of the control method embodiment of table height in the embodiment of the present application;
Fig. 4 is a kind of another schematic diagram of the control method embodiment of table height in the embodiment of the present application;
Fig. 5 is a kind of another schematic diagram of the control method embodiment of table height in the embodiment of the present application;
Fig. 6 is an a kind of schematic diagram of the control system embodiment of table height in the embodiment of the present application;
Fig. 7 is an a kind of schematic diagram of computer installation embodiment in the embodiment of the present application.
Specific embodiment
The embodiment of the present application provides the control method and relevant device of a kind of table height, for the aobvious of optimization table
Show, promotes user experience.
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application
Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only
The embodiment of the application a part, instead of all the embodiments.Based on the embodiment in the application, ordinary skill people
Member's every other embodiment obtained without making creative work, all should belong to the model of the application protection
It encloses.
The description and claims of this application and term " first ", " second ", " third ", " in above-mentioned attached drawing
Four " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way
Data be interchangeable under appropriate circumstances, so that the embodiments described herein can be in addition to illustrating herein or describing
Sequence other than appearance is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that covering is non-exclusive
Include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to clearly arrange
Those of out step or unit, but may include be not clearly listed or it is solid for these process, methods, product or equipment
The other step or units having.
The parameter setting of row and column is generally comprised in form attributes setting, controls the setting of table height parameter in the prior art
Method there is content-adaptive setting to go automatic computation sheet height that is, according to the number of the particular content of table.However, working as
When the content of table is excessive or very few, display height can be too long or too short, and when the content of table is excessive, shows performance
Relatively slow, user experience is poor.For this purpose, the embodiment of the present application provides the control method and its relevant device of a kind of table height,
For solving the above problems.
In order to make it easy to understand, the detailed process in the embodiment of the present application is described below, referring to Fig. 1, the application
A kind of one embodiment of the control method of table height includes: in embodiment
101, the setting instruction of table display pattern in subpage frame is obtained;
In the present embodiment, terminal obtains the setting instruction of table display pattern in subpage frame, wherein terminal can be notes
This computer, desktop computer, mobile phone either other intelligent terminal, herein without limitation.
In addition, the terminal executes this step during can either running during the Table Design in subpage frame, specifically
The process for obtaining the setting instruction of table display pattern in subpage frame can be terminal and be obtained by the input-output equipment of itself
It is determined in the instruction of user's input, the instruction for being also possible to receive other terminals transmissions is determined as setting instruction, can also be
Other way acquires, herein without limitation.
102, the window height of parent page is obtained;
In the present embodiment, when setting instruction indicates that the table display pattern is that window is adaptive, terminal is obtained
The window height of parent page, there are corresponding relationships with the subpage frame for the parent page.
Specifically, the setting instruction that terminal acquires step 101 carries out analysis judgment, when determining that the setting refers to
When showing that table display pattern is that window is adaptive, the window height of the corresponding parent page of the subpage frame is obtained, that is, obtains father page
The window size in face, herein, it is adaptive with the window size in parent page that window adaptively refers to that the table in subpage frame is shown
It answers.
103, the target table height in the subpage frame is determined according to the window height of the parent page;
In the present embodiment, terminal determines the height of the target table in the subpage frame according to the window height of the parent page
Degree, the target table height indicate the height that the table in the subpage frame is completely shown.
Specifically, the window height for the parent page that terminal is acquired according to step 102 can be determined in subpage frame
It is high specifically to can be the control subtracted in parent page or subpage frame using the window height of parent page for target table height
Degree, or target table height is determined by the window height of parent page and the window height of subpage frame, it can also be
Other modes, herein without limitation.In addition, the height that the table in target table height instruction subpage frame can completely be shown
Degree, i.e., so that table height when not occurring scroll bar in parent page, at this point, the table in subpage frame can completely be shown.
104, height setting is carried out to the table in the subpage frame using the target table height.
In the present embodiment, the target table height that terminal is determined using step 103 carries out the table in subpage frame
Height is arranged.
Specifically, terminal carries out height setting to the table in subpage frame using target table height, so that in subpage frame
Table can completely show.In addition, the present embodiment supports the design period of subpage frame table, runtime that can adjust.In son
Page tabular design period configuration scheme, can the overall situation come into force;In the scheme that the runtime of subpage frame table configures, Ke Yicun
Storage is personal scheme.
In the present embodiment, the setting instruction of table display pattern in subpage frame is obtained;Described in setting instruction instruction
When table display pattern is that window is adaptive, the window height of parent page, the parent page and subpage frame presence pair are obtained
It should be related to;The target table height in the subpage frame, the target table are determined according to the window height of the parent page
Height indicates the height that the table in the subpage frame is completely shown;Using the target table height in the subpage frame
Table carries out height setting.Wherein, height setting, institute are carried out to the table in the subpage frame using the target table height
It states target table height and indicates that the height that the table in the subpage frame is completely shown, i.e. table height in subpage frame can fit
Window height with parent page realizes the display optimization to sub- page tabular, promotes user experience.
It is specifically high according to the window of the parent page in step 103 based on embodiment described in Fig. 1 in the embodiment of the present application
Before degree determines the target table height in the subpage frame, the height of control can also be obtained, it is subsequent to table to realize
The setting of lattice height advanced optimizes.Below referring to Fig. 2, based on embodiment described in Fig. 1, a kind of table in the embodiment of the present application
In another embodiment of the control method of height, specifically before step 103, this method can also include:
201, control height is obtained;
In the present embodiment, terminal obtain control height, the control height include the parent page control height and/or
The control height of the subpage frame.
Specifically, the available control height of terminal, the control height include control height and/or subpage in parent page
Control height in face, in general, the control height in parent page may include parent page top menu column height, subpage frame
In control height may include general polling control height, toolbar height and clearance height and table between table
Need the reserved height between parent page bottom.
In the present embodiment, after step 201, the execution of step 103 is determined according to the window height of the parent page
The process of target table height in the subpage frame can specifically include:
202, the object table in the subpage frame is determined according to the window height of the parent page and control height
Lattice height.
In the present embodiment, the window height and step 201 for the parent page that terminal is acquired according to step 102 are acquired
Control height determine target table height in the subpage frame.
Specifically, the window height that parent page can be used subtracts control height to realize to target table height really
It is fixed, wherein control height includes the control height in parent page and/or the control height in subpage frame.The present embodiment specifically may be used
To the height adaption function of internal layer grid control when being applied to iframe nested page, it can as one kind in subpage frame
Table height adaptive tool.By taking EAS document as an example., since current EAS document (i.e. subpage frame) is in portal (i.e. parent page)
Show, and portal and the waf2 page cause the internal layer page that can not monitor in real time most using the nested mode of the iframe page
The variation of outer layer window.Here the solution for taking control adaptive goes audit window to change in portal interface, and in real time
Page situation of change is passed into lower layer's iframe page, lower layer's iframe page goes to pass to again when learning page height variation
Corresponding table, to go the corresponding adaptive approach of adopting form control that change table height is gone to realize that window is adaptive.Most
Show that the table in subpage frame completely, the table height in subpage frame can be adapted to the window height of parent page.
Based on embodiment described in Fig. 2, specifically use the target table height to the table in the subpage frame in step 104
After lattice carry out height setting, page variation can also be monitored, obtains undated parameter for further carrying out to table height
The update of setting.Below referring to Fig. 3, based on embodiment described in Fig. 2, a kind of controlling party of table height in the embodiment of the present application
In another embodiment of method, this method can also include:
301, undated parameter is obtained;
In the present embodiment, terminal obtains undated parameter, and the undated parameter includes the window height of updated parent page
And/or updated control height;
Specifically, terminal can window height to parent page and/or updated control height carry out real time monitoring and obtain
It obtains, is also possible to be separated by preset duration and goes that acquisition acquires or other way acquires undated parameter, specifically
Herein without limitation.
302, the target table height in the subpage frame is updated according to the undated parameter.
In the present embodiment, the undated parameter that terminal is acquired according to step 302 is to the target table height in subpage frame
It is updated, is set to realize and carry out height to the table in the subpage frame using the target table height to step 104
To the update of the target table height of subpage frame after setting.To the embodiment based on Fig. 2, when occurring window height in parent page
Adjusting variation and other control variation (such as general polling control expansion and shrink panel) adaptive approach may be implemented
Adaptation height is gone, target table height is updated, the table in subpage frame is completely shown, the table in subpage frame
Lattice height can be adapted to the window height of parent page.
In the embodiment of the present application, based on embodiment described in Fig. 1 to Fig. 3, it is aobvious that table in subpage frame specifically is obtained in step 101
After showing the setting instruction of mode, in addition to being carried out into Fig. 3 the method using window adaptive model to table according to Fig. 1
Except setting, the setting that the setting either content-adaptive of height is fixed can also be instructed according to the setting, below will
Both of these case is introduced respectively.
One, table fixed height is arranged
Referring to Fig. 4, specifically obtaining table in subpage frame based on embodiment described in Fig. 1 to Fig. 3 in step 101 and showing mould
After the setting instruction of formula, this method can also include:
401, the first height value is obtained;
In the present embodiment, when setting instruction indicates that the table display pattern is fixed height, terminal obtains the
One height value.
Specifically, when the table display pattern in the setting instruction instruction subpage frame acquired in step 101 is fixation
When height, terminal obtains the first height value, and the first height value obtained herein is a fixed value, and the acquisition process of the terminal can
It is determined in instruction to obtain user's input by the input-output equipment of itself, is also possible to receive the logical of other terminals transmissions
It is determined in news information, can also be that other way acquires, herein without limitation.
402, height setting is carried out to the table in the subpage frame using first height value.
In the present embodiment, terminal carries out height setting to the table in the subpage frame using first height value, this
Place, it is fixed height which, which instructs instruction form display pattern, that is, is intended to so that the table in subpage frame has fixed height
Degree not by content, control, window height or other factors adjustment and change, at this point, using first height value to subpage
Table in face carries out height setting, thus the diversification of implementation.
Two, content-adaptive height is arranged
Referring to Fig. 4, specifically obtaining table in subpage frame based on embodiment described in Fig. 1 to Fig. 3 in step 101 and showing mould
After the setting instruction of formula, this method can also include:
501, the table parameter in the subpage frame is obtained;
In the present embodiment, when setting instruction indicates that the table display pattern is content-adaptive, terminal is obtained
Table parameter in the subpage frame, the table parameter include table item number and table row height in the subpage frame.
Specifically, when acquired in step 101 setting instruction instruction subpage frame in table display pattern be content from
When adaptation, terminal obtains the table parameter in subpage frame, i.e., the table item number and table row in subpage frame are high.
502, content-adaptive calculating is carried out to the table in the subpage frame according to the table parameter, determines second
Height value;
In the present embodiment, after step 501, terminal carries out content certainly to the table in subpage frame according to the table parameter
It adapts to calculate, determines the second height value.The second height value refers to so that in subpage frame in the height and table of table herein
Particular content between realize adaptive, i.e., the height of adaptation table is gone using the content in table, so that the content in table
It can completely show, realize the content-adaptive of subpage frame table.
503, height setting is carried out to the table in the subpage frame using second height value.
In the present embodiment, the second height value that terminal is determined using step 502 carries out the table in subpage frame high
Degree setting, so that the table in subpage frame realizes content-adaptive.
As a preferred embodiment, content-adaptive height can also be arranged the addition for carrying out lock function,
504, lock instruction is obtained.
In the present embodiment, terminal obtains lock instruction, and the lock instruction is used to indicate to the table in the subpage frame
Height is locked.
Specifically, the available lock instruction of terminal, herein the lock instruction instruction to the table height in subpage frame into
Row locking, in addition, the acquisition process of the terminal can be obtained in the instruction of user's input really by the input-output equipment of itself
It is fixed, it is also possible to receive and is determined in the communication information that other terminals are sent, can also be that other way acquires, herein not
It limits.
505, the table height in the subpage frame is locked using second height value according to the lock instruction
It is fixed.
In the present embodiment, terminal is according to the lock instruction acquired in step 504 using the second height value to subpage frame
In table height locked.
Specifically, user's craft lock function is provided into line-locked process to the table height in subpage frame, for volume
Volume table, user once lock table, line increment or table height will not change when deleting row, mouse when table content is more than height
Mark, which is placed on table, will appear floating rolling item, and user is allowed to realize table by the operation to the floating rolling item
Optimization display.
The embodiment of the present application is illustrated from the angle of method above, below from the angle of virtual bench to the application
Embodiment is introduced.
Referring to Fig. 6, a kind of one embodiment of the control system of table height includes: in the embodiment of the present application
First acquisition unit 601, the setting for obtaining table display pattern in subpage frame instruct;
Second acquisition unit 602 is used for when setting instruction indicates that the table display pattern is that window is adaptive,
The window height of parent page is obtained, there are corresponding relationships with the subpage frame for the parent page;
First determination unit 603, for determining the target in the subpage frame according to the window height of the parent page
Table height, the target table height indicate the height that the table in the subpage frame is completely shown;
First setting unit 604, for using the target table height to carry out height to the table in the subpage frame
Setting.
In the present embodiment, first acquisition unit 601, the setting for obtaining table display pattern in subpage frame is instructed;The
Two acquiring units 602, for obtaining parent page when setting instruction indicates that the table display pattern is that window is adaptive
Window height, there are corresponding relationships with the subpage frame for the parent page;First determination unit 603, for according to the father
The window height of the page determines that the target table height in the subpage frame, the target table height indicate the subpage frame
In the height that completely shows of table;First setting unit 604, for using the target table height in the subpage frame
Table carry out height setting.Wherein, the first setting unit 604 is using the target table height to the table in the subpage frame
Lattice carry out height setting, and the target table height indicates the height that the table in the subpage frame is completely shown, i.e. subpage frame
In table height can be adapted to the window height of parent page, realize the display optimization to sub- page tabular, promote user experience.
As a preferred embodiment, the system also includes:
Third acquiring unit 605, for obtaining control height, the control height includes the control height of the parent page
And/or the control height of the subpage frame;
First determination unit 603 is specifically used for being determined according to the window height of the parent page and the control height
Target table height in the subpage frame out.
As a preferred embodiment, the system also includes:
4th acquiring unit 606, for obtaining undated parameter, the undated parameter includes the window of updated parent page
Height and/or updated control height;
Updating unit 607, for being updated according to the undated parameter to the target table height in the subpage frame.
As a preferred embodiment, the system also includes:
5th acquiring unit 608, for obtaining when setting instruction indicates that the table display pattern is fixed height
Take the first height value;
Second setting unit 609 is set for carrying out height to the table in the subpage frame using first height value
It sets.
As a preferred embodiment, the system also includes:
6th acquiring unit 610 is used for when setting instruction indicates that the table display pattern is content-adaptive,
The table parameter in the subpage frame is obtained, the table parameter includes table item number and table row height in the subpage frame;
Second determination unit 611, it is adaptive for carrying out content to the table in the subpage frame according to the table parameter
It should calculate, determine the second height value;
Third setting unit 612 is set for carrying out height to the table in the subpage frame using second height value
It sets.
As a preferred embodiment, the system also includes:
7th acquiring unit 613, for obtaining lock instruction, the lock instruction is used to indicate in the subpage frame
Table height is locked;
Lock cell 614, for using second height value to the table in the subpage frame according to the lock instruction
Lattice height is locked.
The embodiment of the present application is described from modular device above, below from the angle of hardware device to this Shen
Please the computer installation in embodiment be described, referring to Fig. 7, in the embodiment of the present application one of computer installation it is specific real
Applying example includes:
The device 700 can generate bigger difference because configuration or performance are different, may include one or more
Central processing unit (centralprocessingunits, CPU) 701 (for example, one or more processors) and memory
705, one or more application program or data are stored in the memory 705.
Wherein, memory 705 can be volatile storage or persistent storage.The program for being stored in memory 705 can wrap
One or more modules are included, each module may include to the series of instructions operation in server.Further, in
Central processor 701 can be set to communicate with memory 705, and a series of fingers in memory 705 are executed on intelligent terminal 700
Enable operation.
The device 700 can also include one or more power supplys 702, one or more wired or wireless networks
Interface 703, one or more input/output interfaces 704, and/or, one or more operating systems, such as
WindowsServerTM, MacOSXTM, UnixTM, LinuxTM, FreeBSDTM etc..
The processor 701 is specifically used for executing following steps:
Obtain the setting instruction of table display pattern in subpage frame;
When setting instruction indicates that the table display pattern is that window is adaptive, the window for obtaining parent page is high
Degree, there are corresponding relationships with the subpage frame for the parent page;
The target table height in the subpage frame, the target table are determined according to the window height of the parent page
Height indicates the height that the table in the subpage frame is completely shown;
Height setting is carried out to the table in the subpage frame using the target table height.
As a preferred embodiment, the mesh in the subpage frame is determined in the window height according to the parent page
Before marking table height, the method also includes:
Control height is obtained, the control height includes the control height of the parent page and/or the control of the subpage frame
Part height;
The window height according to the parent page determines that the height of the target table in the subpage frame specifically includes:
Determine that the target table in the subpage frame is high according to the window height of the parent page and control height
Degree.
As a preferred embodiment, height is carried out to the table in the subpage frame using the target table height described
After degree setting, the method also includes:
Undated parameter is obtained, the undated parameter includes the window height and/or updated control of updated parent page
Part height;
The target table height in the subpage frame is updated according to the undated parameter.
As a preferred embodiment, in the acquisition subpage frame after the setting instruction of table display pattern, the side
Method further include:
When setting instruction indicates that the table display pattern is fixed height, the first height value is obtained;
Height setting is carried out to the table in the subpage frame using first height value.
As a preferred embodiment, in the acquisition subpage frame after the setting instruction of table display pattern, the side
Method further include:
When setting instruction indicates that the table display pattern is content-adaptive, the table in the subpage frame is obtained
Lattice parameter, the table parameter include table item number and table row height in the subpage frame;
Content-adaptive calculating is carried out to the table in the subpage frame according to the table parameter, determines the second height
Value;
Height setting is carried out to the table in the subpage frame using second height value.
As a preferred embodiment, height setting is being carried out to the table in the subpage frame using second height value
Later, the method also includes:
Lock instruction is obtained, the lock instruction, which is used to indicate, locks the table height in the subpage frame;
The table height in the subpage frame is locked using second height value according to the lock instruction.
It is understood that the size of the serial number of above steps is not meant in the various embodiments of the application
Execution sequence it is successive, the execution of each step sequence should be determined by its function and internal logic, without coping with the embodiment of the present application
Implementation process constitute any restriction.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components
It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit
It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the application
Portion or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, RandomAccessMemory), magnetic or disk etc. are various can store program
The medium of code.
The above, above embodiments are only to illustrate the technical solution of the application, rather than its limitations;Although referring to before
Embodiment is stated the application is described in detail, those skilled in the art should understand that: it still can be to preceding
Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these
It modifies or replaces, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution.
Claims (10)
1. a kind of control method of table height characterized by comprising
Obtain the setting instruction of table display pattern in subpage frame;
When setting instruction indicates that the table display pattern is that window is adaptive, the window height of parent page, institute are obtained
Stating parent page, there are corresponding relationships with the subpage frame;
The target table height in the subpage frame, the target table height are determined according to the window height of the parent page
Indicate the height that the table in the subpage frame is completely shown;
Height setting is carried out to the table in the subpage frame using the target table height.
2. the method according to claim 1, wherein being determined in the window height according to the parent page
Before target table height in the subpage frame, the method also includes:
Control height is obtained, the control height includes the control height of the parent page and/or the control height of the subpage frame
Degree;
The window height according to the parent page determines that the height of the target table in the subpage frame specifically includes:
The target table height in the subpage frame is determined according to the window height of the parent page and control height.
3. according to the method described in claim 2, it is characterized in that, using the target table height to the subpage described
After table in face carries out height setting, the method also includes:
Undated parameter is obtained, the undated parameter includes the window height and/or updated control height of updated parent page
Degree;
The target table height in the subpage frame is updated according to the undated parameter.
4. method according to any one of claims 1 to 3, which is characterized in that table is shown in the acquisition subpage frame
After the setting instruction of mode, the method also includes:
When setting instruction indicates that the table display pattern is fixed height, the first height value is obtained;
Height setting is carried out to the table in the subpage frame using first height value.
5. the method according to claim 1, wherein in the setting for obtaining table display pattern in subpage frame
After instruction, the method also includes:
When setting instruction indicates that the table display pattern is content-adaptive, the table ginseng in the subpage frame is obtained
Number, the table parameter include table item number and table row height in the subpage frame;
Content-adaptive calculating is carried out to the table in the subpage frame according to the table parameter, determines the second height value;
Height setting is carried out to the table in the subpage frame using second height value.
6. according to the method described in claim 5, it is characterized in that, in use second height value in the subpage frame
After table carries out height setting, the method also includes:
Lock instruction is obtained, the lock instruction, which is used to indicate, locks the table height in the subpage frame;
The table height in the subpage frame is locked using second height value according to the lock instruction.
7. a kind of control system of table height characterized by comprising
First acquisition unit, the setting for obtaining table display pattern in subpage frame instruct;
Second acquisition unit, for obtaining father when setting instruction indicates that the table display pattern is that window is adaptive
The window height of the page, there are corresponding relationships with the subpage frame for the parent page;
First determination unit, for determining the height of the target table in the subpage frame according to the window height of the parent page
Degree, the target table height indicate the height that the table in the subpage frame is completely shown;
First setting unit, for using the target table height to carry out height setting to the table in the subpage frame.
8. system according to claim 7, which is characterized in that the system also includes:
Third acquiring unit, for obtaining control height, the control height includes control height and/or the institute of the parent page
State the control height of subpage frame;
First determination unit is specifically used for being determined according to the window height of the parent page and control height described
Target table height in subpage frame.
9. a kind of computer installation characterized by comprising
Processor, memory, input-output equipment and bus;
The processor, memory, input-output equipment are connected with the bus respectively;
The processor is for executing such as method as claimed in any one of claims 1 to 6.
10. a kind of computer readable storage medium, is stored thereon with computer program, it is characterised in that: the computer program
It realizes when being executed by processor such as the step of any one of claims 1 to 6 the method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811593015.8A CN109670157B (en) | 2018-12-25 | 2018-12-25 | Control method for table height and related equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811593015.8A CN109670157B (en) | 2018-12-25 | 2018-12-25 | Control method for table height and related equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109670157A true CN109670157A (en) | 2019-04-23 |
CN109670157B CN109670157B (en) | 2023-08-04 |
Family
ID=66147182
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811593015.8A Active CN109670157B (en) | 2018-12-25 | 2018-12-25 | Control method for table height and related equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109670157B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110688037A (en) * | 2019-09-11 | 2020-01-14 | 深圳康佳电子科技有限公司 | Control display method, storage medium and mobile terminal |
CN111723560A (en) * | 2020-07-15 | 2020-09-29 | 金蝶软件(中国)有限公司 | Dynamic adjustment method, system and related equipment for table parallel display area |
CN114090165A (en) * | 2021-11-24 | 2022-02-25 | 北京字节跳动网络技术有限公司 | Page component display position adjusting method and device, computer equipment and medium |
WO2022237553A1 (en) * | 2021-05-10 | 2022-11-17 | 北京字跳网络技术有限公司 | Table display method and apparatus, device and medium |
CN117270855A (en) * | 2023-11-22 | 2023-12-22 | 杭州比智科技有限公司 | Method for realizing table height self-adaption based on vue |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104462256A (en) * | 2014-11-21 | 2015-03-25 | 山东中创软件工程股份有限公司 | Page presentation window height adjustment method and device |
CN105930392A (en) * | 2016-04-15 | 2016-09-07 | 北京思特奇信息技术股份有限公司 | Cross-domain IFRAME height adaption method based on message transmission and system thereof |
CN107766309A (en) * | 2017-08-29 | 2018-03-06 | 腾讯科技(深圳)有限公司 | Data form generation method, device and storage medium, electronic installation |
CN109033056A (en) * | 2018-07-24 | 2018-12-18 | 郑州云海信息技术有限公司 | A kind of page self-adapted paging form realization method and system |
-
2018
- 2018-12-25 CN CN201811593015.8A patent/CN109670157B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104462256A (en) * | 2014-11-21 | 2015-03-25 | 山东中创软件工程股份有限公司 | Page presentation window height adjustment method and device |
CN105930392A (en) * | 2016-04-15 | 2016-09-07 | 北京思特奇信息技术股份有限公司 | Cross-domain IFRAME height adaption method based on message transmission and system thereof |
CN107766309A (en) * | 2017-08-29 | 2018-03-06 | 腾讯科技(深圳)有限公司 | Data form generation method, device and storage medium, electronic installation |
CN109033056A (en) * | 2018-07-24 | 2018-12-18 | 郑州云海信息技术有限公司 | A kind of page self-adapted paging form realization method and system |
Non-Patent Citations (1)
Title |
---|
陈善为: "嵌入式iframe的动态扩展及机理分析", 《计算机与数字工程》 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110688037A (en) * | 2019-09-11 | 2020-01-14 | 深圳康佳电子科技有限公司 | Control display method, storage medium and mobile terminal |
CN111723560A (en) * | 2020-07-15 | 2020-09-29 | 金蝶软件(中国)有限公司 | Dynamic adjustment method, system and related equipment for table parallel display area |
CN111723560B (en) * | 2020-07-15 | 2024-04-19 | 金蝶软件(中国)有限公司 | Dynamic adjustment method, system and related equipment for parallel display area of table |
WO2022237553A1 (en) * | 2021-05-10 | 2022-11-17 | 北京字跳网络技术有限公司 | Table display method and apparatus, device and medium |
CN114090165A (en) * | 2021-11-24 | 2022-02-25 | 北京字节跳动网络技术有限公司 | Page component display position adjusting method and device, computer equipment and medium |
CN117270855A (en) * | 2023-11-22 | 2023-12-22 | 杭州比智科技有限公司 | Method for realizing table height self-adaption based on vue |
CN117270855B (en) * | 2023-11-22 | 2024-01-30 | 杭州比智科技有限公司 | Method for realizing table height self-adaption based on vue |
Also Published As
Publication number | Publication date |
---|---|
CN109670157B (en) | 2023-08-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109670157A (en) | A kind of control method and relevant device of table height | |
CN108093030B (en) | Artificial intelligence model deployment method based on cloud server | |
US10051056B2 (en) | Resource planning method, system, and apparatus for cluster computing architecture | |
CN109740755A (en) | A kind of data processing method and relevant apparatus based on gradient descent method | |
CN106909529B (en) | Machine learning tool middleware and machine learning training method | |
CN104537005B (en) | Data processing method and device for web page crawl | |
CN110428046A (en) | Acquisition methods and device, the storage medium of neural network structure | |
CN105159148A (en) | Robot instruction processing method and device | |
CN108228306A (en) | Interface display method, the intelligent terminal of application APP | |
EP3557417A1 (en) | Information processing device and information processing method | |
CN109697090A (en) | A kind of method, terminal device and the storage medium of controlling terminal equipment | |
CN113240226A (en) | Resource distribution method and device between satellite ground stations | |
CN110866602A (en) | Method and device for integrating multitask model | |
CN114679735A (en) | Parameter adjusting method and device, electronic equipment and storage medium | |
CN111130834B (en) | Method and device for processing network elasticity strategy | |
CN114186671A (en) | Large-batch decentralized distributed image classifier training method and system | |
CN105677456B (en) | A kind of write method and user equipment of progress information | |
CN116346640A (en) | Network index prediction method and device, electronic equipment and storage medium | |
CN108170493B (en) | System module loading method, system and device | |
CN109564635A (en) | Artificial intelligence equipment, system and its behaviour control method | |
CN110290529A (en) | Networking equalization methods, device and server | |
CN114266324A (en) | Model visualization modeling method and device, computer equipment and storage medium | |
CN110989518B (en) | Control method and control system for integrated manufacturing field | |
CN110421973A (en) | The control method and system of mark machine equipment | |
CN113792435A (en) | Data model establishing method and device and server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |