Method and device for displaying data
A data and data block technology, applied in the computer field, can solve problems such as waste of resources, increased memory overhead, and limited number of interface display controls, and achieve the effects of meeting business needs, reducing the amount of calculation, and saving resources
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0061] see figure 1 , this embodiment provides a method for displaying data, and the method flow is as follows:
[0062] 101: Determine the position of the scroll box;
[0063] 102: When it is determined that the scroll box is in the jth grid, starting from the jth data block among the multiple data blocks, draw the data blocks one by one on the control in order from top to bottom;
[0064] 103: Adjust the size and quantity of controls drawing data blocks according to the size of the data blocks until the total height of all controls drawing data blocks is greater than or equal to the height of the display interface, and j is a positive integer less than or equal to the number of data blocks.
[0065] The method provided in this embodiment can save resources by adjusting the size and quantity of controls that have drawn data blocks according to the size of the data blocks, and making the total height of all controls that have drawn data blocks greater than or equal to the hei...
Embodiment 2
[0067] This embodiment provides a method for displaying data. By creating a limited number of controls, and when displaying data blocks, the size of the controls is adjusted according to the size of the data blocks, thereby saving resources and reducing overhead. Meet actual business needs, especially for application scenarios that need to display large amounts of data. For the convenience of description, this embodiment takes the case where a scroll bar appears when displaying data as an example for description, see figure 2 , the method flow provided by this embodiment is specifically as follows:
[0068] 201: Determine the position of the scroll box;
[0069] For this step, when determining the position of the scroll box, the step size of the scroll can be determined by detecting the scroll operation, so as to determine the position of the scroll box after the scroll operation is performed according to the position of the last scroll box, and other methods can also be use...
Embodiment 3
[0097] see Figure 4 , this embodiment provides a device for displaying data, the device includes:
[0098] The first determination module 401 is configured to determine the position of the scroll frame;
[0099] The first display module 402 is used to draw the data blocks one by one in order from top to bottom starting from the jth data block among the multiple data blocks when the first determination module 401 determines that the scroll box is in the jth grid On the control, adjust the size and number of controls that draw data blocks according to the size of the data block until the total height of all controls that have drawn data blocks is greater than or equal to the height of the display interface, and j is a positive value that is less than or equal to the number of data blocks integer.
[0100] Further, see Figure 5 , the device also includes:
[0101] The second determination module 403 is used to determine the largest data block serial number i, so that the to...
PUM

Abstract
Description
Claims
Application Information

- R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com