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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Next or Previous Master record value

Thread ID:

Created:

Updated:

Platform:

Replies:

48278 Aug 23,2006 09:56 PM UTC Aug 25,2006 07:31 PM UTC Windows Forms 2
loading
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.

Robert

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

Hi,

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.
http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=302

Let us know if this satisfies your query.

Best Regards,
Leo.

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

Hi,
Thanks,
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.

cheers,
Robert


CONFIRMATION

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.

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

;