Good morning,
we are developing a distributed application (Win form smart client application that consume services on a server) service oriented. We want to use XtraGrid for managing a lot of data. The grid have to be paged (we are in a distributed scenario) and we can't suppose that the data are downloaded totally on a client; in fact on the grid client there will be only the data of the page selected from the end user. We would have on a our custom XtraGrid the column filter and grouping property in this paged scenario, but for example on the filter column we would have all the list of the values and not only the values of the loaded page . Do you have some guide line o sample about this problem?
Grid paging in a distributed application
Answers
Hi Simone,
Sorry, the XtraGrig itself is not designed to work with paged data, it just gives a representation of some datasource. So the groupping, sorting and filtering operations can relay only on data that is already present in the bound datasource. To implement such dynamic behavior you should do it at the datasource level. For more information, see the following article:
Does the XtraGrid support the virtual load mode?
http://www.devexpress.com/kbid=A1022
Specifically to work with filters please take a look at the "Filtering Overview" help topic
ms-help://DevExpress.NET.2005v6.1/DevExpress.XtraGrid/CustomDocument697.htm
and this article:
How to add a new item to the grid's popup filter list
http://www.devexpress.com/kbid=A415
Thanks,
Michael.
If i use XPPageselector class means,Can i do add/remove/edit the record after paging??
Hello,
Before we suggest any solution to you, please clarify your scenario in greater detail. In addition, specify a data source if any. Also, clarify if you use GridControl in Server mode.
I am looking forward to your response.
>>If i use XPPageselector class means,Can i do add/remove/edit the record after paging??
To process your recent post more efficiently, I created a separate ticket on your behalf: How add/remove/edit the record after paging using XPPageselector. This ticket is currently in our processing queue. Our team will inform you as soon as we have any updates.