The present disclosure generally relates to the field of computer devices, and more specifically, to a method, an apparatus, an electronic device, and a storage medium of table data displaying.
In relational databases, a database table, also referred to as table, is a collection of a series of two-dimensional arrays to represent and store relationships between data objects. A table is a fundamental structure for forming a table space, which is comprised of intervals. It consists of vertical columns and horizontal rows. For example, in a table named “authors” about author information, each column includes information of all authors in terms of a certain specific type, for example, “surname,” and each row contains all information on a certain specific author, including: surname, name, address, and the like.
For a particular database table, a number of columns is typically set in advance, and each column can be identified by its column name; a number of rows is always dynamically changing, and each row can be identified by data in a certain column or certain columns.
Currently, database products available on the market mainly include online tables, Vika tables and the like, but there is no method for converting a certain area in a table into a Gantt chart, album, or board, causing a failing in meeting the users' needs.
To solve, or at least partly solve, the above-mentioned technical problem, embodiments of the present disclosure provide a method, an apparatus, an electronic device, and a storage medium of table data displaying, to diversify the table data modes.
In a first aspect, the present disclosure provides a method of table data displaying, comprising:
Alternatively, the target conversion component at least comprises a first target conversion component, a second target conversion component, and/or a third target conversion component;
Alternatively, in response to the trigger operation on the first target conversion component, displaying the selected table data in the board views on the target table page, comprises:
Alternatively, the board display mode comprises: classifying the table data according to identification information corresponding to a target column;
Alternatively, in response to the trigger operation on the second target conversion component, displaying the selected table data in the album views on the target table page, comprises:
Alternatively, the album display mode comprises: displaying identification information corresponding to a preset number of target columns in the table data;
Alternatively, in response to the trigger operation on the third target conversion component, displaying the selected table data in the Gantt chart views on the target table page, comprises:
Alternatively, the Gantt chart view display mode comprises: displaying event information corresponding to different rows of table data according to a timeline;
Alternatively, the method further comprises:
Alternatively, the method further comprises:
Alternatively, in response to the trigger operation on the preset position of the card page, modifying and/or deleting the content of the preset position, comprises:
Alternatively, in response to the trigger operation on the preset position of the card page, modifying and/or deleting the content of the preset position, comprises:
Alternatively, the method further comprises:
In a second aspect, the embodiments of the present disclosure provide a table data display apparatus, comprising:
In a third aspect, the embodiments of the present disclosure provide an electronic device, comprising:
In a fourth aspect, the embodiments of the present disclosure provide a computer readable storage medium having computer programs stored thereon, wherein the programs, when executed by a processor, implement the method of the first aspect.
As compared with the prior art, the technical solution provided by embodiments of the present disclosure has the following advantages:
Drawings which are incorporated into the Description and form a part thereof depict embodiments in line with the Description and are provided, together with the Description, to explain the principles of the present disclosure.
In order to make clear the technical solution according to embodiments of the present disclosure or the prior art technology, brief introduction will be provided below on the drawings necessary for the embodiments or the prior art technology. Based on the drawings, the ordinary skilled in the art could obtain other drawings apparently, without doing creative work.
In order to make the objective, features, and advantages of the present disclosure more apparent, further description on the solution of the present disclosure will be provided below. It is worth noting that the features in an embodiment and embodiments of the present disclosure could be combined in the absence of conflict.
For a better understanding of the present disclosure, more details will be provided below; however, the present disclosure could also be implemented in other manners than the one described here. Obviously, the embodiments described here are only a part of embodiments of the present disclosure, rather than all of them.
Exemplarily, the present disclosure provides a method, an apparatus, an electronic device, and a storage medium of table data displaying. In a scenario of using a document table page, when a part of table data is selected on the document table page, in response to a trigger operation on a target conversion component, the selected table data are displayed on the target table page according to a target display mode, where the target display mode is related to the target conversion component, to thus display table data of a target area in the table according to the target display mode and improve user experience in using the table.
Wherein, the table data display method according to the present disclosure is executed by an electronic device, or an application program, a webpage, an official account, or the like, in an electronic device. The electronic device may be a tablet, mobile phone, wearable device, on-vehicle device, augmented reality (AR)/virtual reality (VR), laptop, ultra-mobile personal computer (UMPC), netbook, personal digital assistant (PDA), smart TV, smart screen, HD TV, 4K TV, smart speaker, smart projector, or the like. The present disclosure does not suggest any limitation to the specific type of the electronic device.
Wherein, the type of the operation system of the electronic device is not limited in the present disclosure, which may be, for example, Android system, Linux system, Windows system, iOS system, or the like.
Hereinafter, some specific embodiments will be provided to describe the technical solution of the present disclosure in detail.
Specifically, the original table page 100 is a table page created or opened by a user, where the original table page includes table data imported by the user or table data created by the user. As shown in
The user's selection operation may refer to that the user selects at least part of the table data on the original table page by clicking the left mouse button and moving the mouse.
Highlighting may refer to displaying the selected table data 101 in a prominent color, selecting the table data using a text box, or displaying the selected table data by changing a brightness. The specific manner of highlighting the selected table data is not limited in embodiments of the present disclosure.
Wherein, the target display mode is related to the target conversion component.
The target table page is a page newly created after the user triggers the target conversion component 103.
After the user selects the at least part of table data 101 on the original table page 100, the target conversion component 102 is triggered. At this time, the table data 101 selected by the user on the original table page 100 are displayed on the target table page 103 according to the target display mode.
Specifically, the target conversion component 102 at least includes a first target conversion component, a second target conversion component, and a third target conversion component. As shown in
The table data display method provided by embodiments of the present disclosure includes: in response to a selection operation on at least part of table data on an original table page, highlighting selected table data on the original table page; and in response to a trigger operation on a target conversion component, displaying the selected table data in a target display mode on a target table page, where the target display mode is related to the target conversion component. In this way, the present disclosure can enable display of table data of a target area selected by a user on an original table page according to a target display mode. By displaying table data in a table in different modes, the present disclosure can diversify the display modes and meet different users' needs.
As shown in
In
After the user triggers the second target conversion component 102B in the target conversion component 102, as shown in
In
After the user triggers the third target conversion component 102C in the target conversion component, as shown in
In the above embodiment, when the selected data are displayed in the board views on the target display page after the user triggers the first target conversion component, the target table page here refers to a table page corresponding to the board views; when the selected data are displayed in the album views on the target display page after the user triggers the second target conversion component, the target table page here refers to a table page corresponding to the album views; when the selected data are displayed in the Gantt chart views on the target display page after the user triggers the third target conversion component, the target table page here refers to a table page corresponding to the Gantt chart views.
In other implementations, when the user triggers the first target conversion component 102A, the selected table data 101 are displayed in the board views; then, when the user triggers the second target conversion component 102B, the selected table data are displayed in the album views; in addition, when the user further triggers the third target conversion component 102C, the selected table data 101 are displayed in the Gantt chart views. At this time, the corresponding target table page includes: a table page corresponding to the board views, a table page corresponding to the album views, and a table page corresponding to the Gantt chart views, for example, as shown in
The table data display method provided by embodiments of the present disclosure includes: in response to the trigger operation on the first target conversion component in the target component, displaying the selected table data in the board views on the target table page; and/or, in response to the trigger operation on the second target conversion component, displaying the selected table data in the album views on the target table page; and/or, in response to the trigger operation on the third target conversion component, displaying the selected table data in the Gantt chart views on the target table page; when the user triggers any one of the target conversion components, the table data of the target area selected by the user on the original table page are displayed according to the target display mode corresponding to the target conversion component, to diversify the table data display modes.
Hereinafter, specific embodiments are provided to describe displaying the selected table data on the target table page in the board views, displaying the selected table data on the target table page in the album views, and displaying the selected table data on the target table page in the Gantt chart views, respectively.
Specifically, the board display mode is related to user-defined settings. Since different columns in the table data correspond to different classification identifications on the original table page, when the board display mode set by the user includes displaying the selected table data in the board views on the target table page, display is performed according to whether the table data corresponding to the user-defined classification identifications are to be displayed or not.
For example, as shown in
Alternatively, displaying the selected table data in the board views on the target table page according to the board display mode, includes:
When there is a large data volume on the original table page, in order to enable the user to more intuitively obtain board views under a certain classification identification, the board display mode includes classifying the table data according to identification information corresponding to the target column, and then displaying the selected table data in the board views.
Specifically, continuing referring to
In
The table data display method provided by the embodiments of the present disclosure include: in response to the trigger operation on the first target conversion component, based on identification information of different row data, in the selected table data, corresponding to the target column, displaying the selected table data in the board views after classifying the selected table data according to the identification information, to thus implement display of the selected table data according to the board view display mode.
Corresponding to Step S210, the method further includes:
When the user triggers a certain target board view on the target table page, the target board view is displayed in a form of cards where all identification information selected by the user on the original table page is displayed.
Specifically, if the table data selected by the user on the original table page include all row data under classification identifications including job, department, category, number of recruits, city, recruitment type, and years of work, and if the user-defined board display mode includes displaying, in each board, table data corresponding to classification identifications including job, department, category, number of recruits, city, recruitment type, and years of work, the selected table data are displayed on the target table page according to the board display mode as shown in
Specifically, the album display mode is related to user-defined settings. Since different columns in the table data correspond to different classification identifications on the original table page, when the album display mode set by the user includes displaying the selected table data in the album views on the target table page, display is performed according to whether the table data corresponding to the user-defined classification identifications are to be displayed or not.
For example, as shown in
Alternatively, displaying the selected table data in the album views on the target table page according to the album display mode, includes:
When there is a large data volume on the original table page, in order to enable the user to more intuitively obtain corresponding data under important classification identifications, the album display mode includes obtaining target table data corresponding to a predetermined number of target columns corresponding to different rows of the selected table data, and displaying, on the target table page, the obtained target table data in the album views corresponding to different rows.
Specifically, continuing with
In
The table data display method provided by the embodiment of the present disclosure include: in response to the trigger operation on the second target conversion component, obtaining the target table data corresponding to the predetermined number of target columns corresponding to different rows of the selected table data, and displaying, on the target table page, the selected target table data in the album views corresponding to different rows, to implement display of the selected table data according to the album view display mode.
Corresponding to Step S220, the method further includes:
When the user triggers a certain target album on the target table page, the target album is displayed in a form of cards where all identification information selected by the user on the original table page is displayed.
Specifically, if the table data selected by the user on the original table page include all row data under classification identifications including job, department, category, number of recruits, city, recruitment type, and years of work, and if the user-defined album display mode includes displaying, in each album, table data corresponding to classification identifications including job, department and category, the selected table data are displayed on the target table page according to the album view display mode as shown in
Specifically, the Gantt chart view display mode is related to user-defined settings. Since different columns in the table data correspond to different classification identifications on the original table page, when the Gantt chart view display mode set by the user includes displaying the selected table data in the Gantt chart views on the target table page, display is performed according to whether the table data corresponding to the user-defined classification identifications are to be displayed or not, and event information in a corresponding timeline is displayed.
For example, as shown in
Alternatively, displaying the selected table data in the Gantt chart view on the target table page according to the Gantt chart view display mode, includes:
When the selected original table page data include event information, in order to enable the user to more intuitively obtain an event stream corresponding to the event information, the Gantt chart view display mode includes obtaining event information corresponding to different rows of the selected table data, and displaying, on the target table page, event information corresponding to a row of the selected table data according to a timeline corresponding to different rows.
Specifically, continuing with
The table data display method provided by the embodiments of the present disclosure includes, in response to the trigger operation on the third target conversion component, displaying, on the target table page, the selected table data in the Gantt chart views according to a Gantt chart view display mode, to thus implement display of the selected table data according to the Gantt chart view display mode.
Corresponding to Step S230, the method further includes:
After the user triggers event information corresponding to a certain target Gantt chart view on the target table page, the target Gantt chart view is displayed in the form of a card where all identification information selected by the user on the original table page is displayed.
For example, event information of the table data corresponding to different rows in the embodiments of the present disclosure refers to a start time and an end time corresponding to the row data. In other implementations, event information may be in other manners, which is not specifically limited in embodiments of the present disclosure.
Specifically, the table data selected by the user on the original table page are all row data under classification identifications including: job, department, category, number of recruits, city, and the like, and the user-defined Gantt chart display mode includes displaying, in each Gantt chart, table data corresponding to the classification identification of position and time information corresponding to the position. At this time, displaying the selected table data in the Gantt chart views on the target table page according to the Gantt chart view display mode is shown in
Alternatively, the method further includes:
Referring to
Specifically, the preset position includes a first type area including identification information corresponding to each column in the table data, and a second type area including table data corresponding to each table in the table data.
For example, referring to
As an implementation, in response to a trigger operation on the first type area at the preset position of the card page, a content of the first type area is modified.
If the user triggers a target Gantt chart view on the target table page corresponding to the Gantt chart views, and if the target Gantt chart is displayed in a form of a card, the user can modify the first type area after triggering the first type area at the preset position of the card page. As shown in
It is worth noting that, in the above-mentioned embodiment, a target Gantt chart view is triggered on a target table page corresponding to the Gantt chart views, and a content of a first type area is modified on a card page corresponding to the target Gantt chart view; in other implementations, a target album view may be triggered on a target table page corresponding to the album views, and a content of a first type area is modified on a card page corresponding to the target album view. At this time, when the user triggers any one target album view on the target table page corresponding to the album views, the identification information corresponding to the job is modified to job work identification information. Alternatively, a target board view may be triggered on a target table page corresponding to board views, and a content of a first type area is modified on a card page corresponding to the target board view. At this time, when the user triggers any one target board view on the target table page corresponding to the board views, the identification information corresponding to the job is modified to the job work identification information.
As a further implementation, in response to a trigger operation on the second type area at a preset position of the card page, a content of the second type area is modified or deleted.
When the user triggers a target Gantt chart view on a target table page corresponding to the Gantt chart views and the target Gantt chart view is displayed in the form of a card, the user can delete or modify a content of the second type area after triggering the second type area at the preset position of the card page, as shown in
It is worth noting that
Alternatively, the method further includes, in response to a trigger operation on a configuration component on a target table page, a display mode of settings is modified on the target table page.
Specifically, as shown in
It is worth noting that, in the table data display method provided by the above embodiment, the specific conversion logic of data in the table is as follows: in the table title bar, in the case of a checkbox, it is converted into true/false; in the case of pictures, they are displayed as pic1 and pic2; in the case of an equation, it is displayed as a calculated value through the equation; if the text name is repeated, suffix numbers 1, 2 . . . are employed; in the case of containing more than 100 characters, it is truncated; in the presence of special characters, they are converted into spaces, and first and last spaces are removed.
The conversion logic of data in each table is as follows: if a dropdown list included in a table is a single selection, it is converted into characters corresponding to the single selection; if a table summary includes @person, it is converted into person fields, which are multiple selections by default; if numbers are included in a table, they are converted into number fields, and the maximum decimal places are reserved; if a table includes a date, it is converted into a date field, and a corresponding date format is reserved, which is YYYY/MM/DD by default; in the case of a checkbox, it is converted into a checkbox field; in the case of a picture, it is converted into an attachment filed; in the case of a text, if 2<=a number of unique items in the column text<=10, the number of unique items<=0.5 and no link is provided, it is converted into a single-selection field, and if the above conditions are not met, it is converted into a text field.
In addition, if a selection column is not in a single format, a number of pictures, a number of drop-down types, a number of checkboxes, and a number of other types (text, date, number, and @person) are calculated and compared; if the number of picture types is the greatest, it is converted into a picture field; if the number of checkboxes is the greatest, it is converted into a checkbox field; if the number of drop-down types is the greatest and all of them are single selections, it is converted into a single selection, and as long as one drop-down multi-selection type is included, it is converted into multiple selections.
Further, if rows of selected table data exceed an upper limit of 10,000 rows, they are truncated at the 10,000th row; if columns of the selected table data exceed an upper limit of 100 columns, they are truncated at the 100th column; if a number of pictures is greater than 4,000, they are truncated at the 4,000th picture; if a number of texts contained in a single cell is greater than 50,000, they are truncated at the 50,000th text.
According to the table data display method provided by the embodiments of the present disclosure, in response to a selection operation on at least part of table data on an original table page, the table data selection module highlights selected table data on the original table page, and in response to a trigger operation on a target conversion component, the display module displays the selected table data on the target table page according to a target display mode, where the target display mode is related to the target conversion component. In this way, the present disclosure can enable display of table data of a target area selected by a user on an original table page according to a target display mode. By displaying table data in a table in different modes, the present disclosure can diversify the display modes and meet different users' needs.
Alternatively, the apparatus further includes:
Alternatively, the apparatus further includes:
Alternatively, the apparatus further includes:
A second board view display unit for based on identification information of different row data, in the selected table data, corresponding to the target column, displaying the selected table data in the board views after classifying the selected table data according to the identification information.
Alternatively, the apparatus further includes:
Alternatively, the apparatus further includes:
Alternatively, the apparatus further includes:
Alternatively, the apparatus further includes:
Alternatively, the apparatus further includes:
Alternatively, the apparatus further includes:
Alternatively, the apparatus further includes:
Alternatively, the apparatus further includes:
Alternatively, the apparatus further includes:
The apparatus provided by embodiments of the present disclosure can execute the method provided by any one of the embodiments of the present disclosure, and includes functional modules and has advantages corresponding to the method.
The memory 820 may include mainly a program storage zone for storing an operation system and an application program required by at least one function, and a data storage zone for storing data created based on use of terminals, and the like. In addition, the memory 820 may include a high-speed random access memory, and may further include a non-volatile memory such as at least one disk storage device, flash device, or other volatile solid-state storage device. In some embodiments, the memory 820 may further include memories arranged remotely relative to the processor 810, which can be connected to the computing device via a network. Examples of the network include, but are not limited to, an internet, intranet, local area network, mobile communication network, and a combination thereof.
The input unit 830 can be used to receive number or character information input therein, and generate a signal input related to user settings and functional control of the electronic device. The input unit 830 may include a keyboard, mouse, and the like. The output unit 840 may include a display device such as a display screen, and the like.
Embodiments of the present disclosure further provide a storage medium having computer executable instructions, where the computer executable instructions are used to implement the method provided by the embodiments of the present disclosure when executed by a computer processor.
According to the storage medium having computer executable instructions, the computer executable instructions are not limited to the method operations as mentioned above, but may further implement related operations in the method provided by any one embodiments of the present disclosure.
The present disclosure further provides a computer program product which causes a computer to execute the method of the application program according to the above embodiments when running on the computer.
It is worth noting that, the relationship terms, such as “first,” “second,” and the like, are only used to differentiate an entity or operation from a further entity or operation, without necessarily requiring or indicating that those entitles or operations have any actual relationship or be placed in any sequence. The term “include,” “comprise,” or any other variant, is to be read as non-exclusive inclusion, i.e., a process, method, article, or device including a series of elements not only covers elements listed thereafter but also comprises other elements not listed explicitly, or may include all elements inherent to the process, method, article or device. Without further limitation, an element defined by “includes a . . . ” does not exclude the presence of a further identical element in the process, method, article, or device including the element.
The description above only relates to specific implementations of the present disclosure to help those skilled in the art understand or implement the present disclosure. Multiple modifications to those embodiments are obvious to those skilled in the art, and the general principles defined here can be implemented in other embodiments in the premise of not departing from the spirits or scope of the present disclosure. Therefore, the present disclosure claims the broadest scope conforming to the principles and novel features disclosed here, rather than being limited to those embodiments described above.
Number | Date | Country | Kind |
---|---|---|---|
202111257787.6 | Oct 2021 | CN | national |
This application is a Continuation application of International Patent Application No. PCT/CN2022/127993, filed Oct. 27, 2022, which claims the priority to the Chinese Application No. 202111257787.6 entitled “TABLE DATA DISPLAYING METHOD AND APPARATUS, ELECTRONIC DEVICE, AND STORAGE MEDIUM” filed on Oct. 27, 2021, the disclosures of which are incorporated herein by reference in their entities.
Number | Name | Date | Kind |
---|---|---|---|
8290806 | Lee | Oct 2012 | B2 |
11094417 | Kano | Aug 2021 | B2 |
11429558 | Nag | Aug 2022 | B2 |
11676232 | Watkins, Jr. | Jun 2023 | B2 |
20040085316 | Malik | May 2004 | A1 |
20110307773 | Grmusa et al. | Dec 2011 | A1 |
20130290009 | Rosenblum | Oct 2013 | A1 |
20140115448 | Owen | Apr 2014 | A1 |
20150067568 | Lee | Mar 2015 | A1 |
20160077694 | Christoph | Mar 2016 | A1 |
20160110822 | Shaaban | Apr 2016 | A1 |
20160132819 | Horner | May 2016 | A1 |
20170153799 | Hoyer | Jun 2017 | A1 |
20180088753 | Viégas et al. | Mar 2018 | A1 |
20200372077 | Religa | Nov 2020 | A1 |
20220164540 | Setlur | May 2022 | A1 |
20240005091 | Viégas | Jan 2024 | A1 |
Number | Date | Country |
---|---|---|
101533519 | Sep 2009 | CN |
108984241 | Dec 2018 | CN |
110941750 | Mar 2020 | CN |
111241796 | Jun 2020 | CN |
111274781 | Jun 2020 | CN |
112559576 | Mar 2021 | CN |
112860728 | May 2021 | CN |
112926288 | Jun 2021 | CN |
113377486 | Sep 2021 | CN |
113885770 | Jan 2022 | CN |
2010-218048 | Sep 2010 | JP |
2020010775 | Jan 2020 | WO |
Entry |
---|
“IT: Little People How to Make Pie Chart in Excel”, available online at: <URL:https://baijiahao.baidu.com/s?id=1710759844258226329&wfr=spider&for=pc>, Sep. 15, 2021, with English translation (8 pages). |
International Search Report and Written Opinion, International Patent Application No. PCT/CN2022/127993, Jan. 17, 2023, with English translation of Search Report (11 pages). |
Office Action issued in Chinese Patent Application No. 202111257787.6, Aug. 7, 2023 (16 pages). |
Decision to Grant, issue in Chinese Patent Application No. 202111257787.6, Jan. 4, 2024 (5 pages). |
Extended European Search Report for European Patent Application No. 22886079.7, mailed on Sep. 4, 2024, 6 pages. |
Number | Date | Country | |
---|---|---|---|
20240086048 A1 | Mar 2024 | US |
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2022/127993 | Oct 2022 | WO |
Child | 18511339 | US |