Ticket DQ14218
Visible to All Users

Grid paging in a distributed application

created 19 years ago

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?

Answers

created 19 years ago

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.

    Show previous comments (3)

      Hi ser,
        Please explain clearly in all aspects.

        If i use XPPageselector class means,Can i do add/remove/edit the record after paging??

        Nadezhda (DevExpress Support) 9 years ago

          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.

          Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

          Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.