We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Next or Previous Master record value

Thread ID:





48278 Aug 23,2006 09:56 PM UTC Aug 25,2006 07:31 PM UTC WinForms 2
Tags: Grouping
Robert Lo
Asked On August 23, 2006 09:56 PM UTC

I am binding a datasource with relationship to the grid and I want to retrieve the next/previous displaying master record from the grid with the given pK record value. It is because the grid can be sorted and the displaying order is different from the datasource. Sorry, I am very new to this Grouping Grid Control.

Please kindly tell me how to do that.

Thanks in advance.


Administrator [Syncfusion]
Replied On August 24, 2006 07:04 PM UTC


See the following KB article where the CurrentElement is used for retrieving its parent. You can implement a similar way to retrieve for a particular record.

Let us know if this satisfies your query.

Best Regards,

Administrator [Syncfusion]
Replied On August 25, 2006 07:31 PM UTC

It is not the way I want. It is beause the current element could be different from the user selected PK. The user input is in other control. THe gcc is only the view.

Anyway, find how to do.
--loop over the gcc.Table.Record
--get matching PK,
--get whatever record is before or after from that record.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon