How to set the the cell value for displayed cells only?

瘦欲@ 提交于 2020-06-29 03:58:16

问题


I have some data I want to display in a StringGrid. This data contains many rows with some pretty static columns but also two columns that need web-API lookups and take some time to gather. SO when I try to set these cells in the OnShow of the StringGrid (or any other "Init") I get a long delay until the cell values are set. What I would like to do is only look up the values for those cells that are currently displayed (and not all of them at once).

How Do I find out which rows are currently displayed? Is there an event I can use?

来源:https://stackoverflow.com/questions/62550454/how-to-set-the-the-cell-value-for-displayed-cells-only

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!