如何在datagrid中的页面中显示数据 [英] how to display data in pages in the datagrid

查看:63
本文介绍了如何在datagrid中的页面中显示数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我为表创建了一个搜索屏幕,然后通过执行this.dataworkspace.table.addnew()通过服务填充数据网格。我已将每页的项目设置为10,但数据网格不会自动将数据#11设置为第2页.Datagrid只显示
非常长的page1。调用this.datagrid.Refresh()不起作用。屏幕刷新不是一个选项,因为它只是重新初始化数据网格的填充。如何控制数据网格的分页?

I created a search screen for a table then I'm populating the datagrid through a service by doing this.dataworkspace.table.addnew(). I've set the items per page to 10, but the datagrid doesn't automatically put the data#11 to page 2. Datagrid just displays a very long page1. calling this.datagrid.Refresh() doesn't work. Screen refresh is not an option as it will just reinitialize the populating of the datagrid. How do I control the paging of the datagrid?

推荐答案

当前数据网格的实现存在一些错误。  但我不确定您在分页中遇到的问题是否是其中之一。添加没有显示网格刷新的记录就是其中之一。

There's are a several bugs in the current implementation of the data grid.  But I'm not sure if what you're experiencing with the paging is one of them. Adding records that don't show up with a grid refresh IS one of them though.

我们被告知网格中的一些错误已得到修复,但我们已经修复了在我们看到结果之前,等待RTM发布。

We've been told that a number of these bugs in the grid have been fixed, but we have to wait till the RTM is released before we get to see the results.


这篇关于如何在datagrid中的页面中显示数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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