如何将数据网格中的行数(总计1500)限制为100,滚动其他100时依次加载等等。 [英] How to limit the number of rows in the datagrid (total 1500) to 100 and when scroll other 100 and so on should load.

查看:79
本文介绍了如何将数据网格中的行数(总计1500)限制为100,滚动其他100时依次加载等等。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个包含1500多条记录的数据网格,而加载数据网格会将行限制为100并加载。在滚动发生后,剩余的100应该加载并处理等等。



我尝试过:



i试图限制行但数据网格只显示100行。剩余的全部都没有加载。

i have a data grid with 1500+ records, while loading the datagrid limit the row to 100 and load. after the scroll happens remaining 100 should load and process to go so on.

What I have tried:

i have tried to limit the rows but the datagrid display only 100 rows. remaining all are not loaded.

推荐答案

你要找的术语是寻呼 - 请参阅此代码项目文章分页WPF DataGrid [ ^ ]
The term you are looking for is "Paging" - see this Code Project Article Paging WPF DataGrid[^]


这篇关于如何将数据网格中的行数(总计1500)限制为100,滚动其他100时依次加载等等。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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