23-05-2013 дата публикации
Номер: US20130132893A1
The embodiments of the present invention disclose a method and apparatus for displaying data, which relate to computer technologies. The method includes: determining a location where a scroll box is located; updating a data block displayed on at least one control through moving data blocks according to the location where the scroll box is located; and for each of the at least one control, adjusting the size of the control according to the size of the data block displayed on the control. Through adjusting the size of the control according to the size of the data blocks, the number of the control is adjusted, thus resources can be saved and calculation efforts can be reduced. In addition, since the height of the control is adjusted according to the size of the data block, diversified data services can be supported so as to meet the requirements of practical services. 1. A method for displaying data , comprising:determining a location in a display interface where a scroll box is located;updating a data block displayed on at least one control in the display interface through moving data blocks according to the location in the display interface where the scroll box is located; andfor each of the at least one control, adjusting the size of the control according to the size of the data block displayed on the control.2. The method of claim 1 , before determining the location in the display interface where the scroll box is located claim 1 , further comprising:creating a limited number of controls which can fill the display interface.3. The method of claim 1 , wherein a process of updating a data block displayed on at least one control in the display interface through moving data blocks claim 1 , and for each of the at least one control claim 1 , adjusting the size of the control according to the size of the data block displayed on the control claim 1 , comprises:{'sup': 'th', 'when determining that the scroll box is located in the jlattice, performing Step A{'sup': 'th', ' ...
Подробнее