DataGrid:等待加载的所有行然后显示 [英] DataGrid : wait all rows loaded then show up

查看:99
本文介绍了DataGrid:等待加载的所有行然后显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

现在,即时面临DataGrid性能问题。我用Combobox测试了13个柱子,100个DataGridTemplateColumn。发现我必须等待超过17秒,然后控制DataGrid显示,有时超过25秒。 为什么DataGrid必须必须加载所有行
然后显示?我们可以逐个显示行控件吗?

now ,im facing DataGrid performance problem . i tested 13columns , 100rows DataGridTemplateColumn with Combobox . found i must wait over 17 secs , then controls in DataGrid showup , Sometimes the time over 25 secs .  why DataGrid must must all rows loaded then show up ? can we show row controls one by one ?

推荐答案

13columns& 100行是一个太小的数字。它确实不应该花这么多时间。您是否检查过
获取数据是花费时间还是显示数据需要时间。

13columns & 100 rows is too small a number. It should indeed not take such a time. Have you checked that whether fetching data is taking time or displaying data is taking time.

如果可能的话;请将您的代码粘贴给某人以帮助解决此问题。

If possible; Pls paste your code for someone to help on this.

问候,

Chintan982

Chintan982


这篇关于DataGrid:等待加载的所有行然后显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆