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

grid last row

Thread ID:





28914 May 12,2005 01:14 PM UTC May 13,2005 11:11 AM UTC WinForms 1
Tags: GridControl
Hrvoje Voda
Asked On May 12, 2005 01:14 PM UTC

I updated dataSet with new user and refreshed grid, but I want to get to the row of that new user.

Administrator [Syncfusion]
Replied On May 13, 2005 11:11 AM UTC

If the grid/dataview has not been sorted, the new row would be the last row in the grid (except for possibly the ''AddNew" row if you have one). So, you could call grid.CurrentCell.MoveTo passing it either grid.Model.RowCount - 1 or grid.Model.RowCount depending upon whether you have a addnew row displayed. You can test grid.Binder.AllowAddNew to see whether the grid has an addnew row or not.


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