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.

Move first, next, previou, last and GoToRecord without GridRecordNavigationControl

Thread ID:

Created:

Updated:

Platform:

Replies:

126957 Oct 18,2016 01:49 PM Oct 20,2016 12:32 AM Windows Forms 3
loading
Tags: GridDataBoundGrid(Classic)
Lord Quo
Asked On October 18, 2016 01:49 PM

Hello all.

It's possible emulate this actions without using the GridRecordNavigationControl

Thanks in advance



Piruthiviraj Malaimelraj [Syncfusion]
Replied On October 19, 2016 06:15 AM

Hi Lord Quo, 

Thanks for your interest in Syncfusion products. 

We had analyzed your scenario and created the sample as per your scenario. In that sample, we have used button_click events to achieve this scenario. In order to move to the next, previous, last and first record without using GridRecordNavigationlControl , CurrentCell.MoveTo method can be used. Please refer to the attached sample. 

Code example 
 
this.gridDataBoundGrid1.CurrentCell.MoveTo(GridRangeInfo.Row(this.gridDataBoundGrid1.TopRowIndex)); 
 
Sample link 

Regards, 
Piruthiviraj 


Lord Quo
Replied On October 19, 2016 04:37 PM

This code example is excelent. Works perfectly.

Thanks!

Piruthiviraj Malaimelraj [Syncfusion]
Replied On October 20, 2016 12:32 AM

Hi Lord Quo, 

Thanks for the update. 

We are glad to know that the provided solution is resolved your scenario. 

Regards, 
Piruthiviraj 


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.

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.

;