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. Image for the cookie policy date

grid last row

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

1 Reply

AD Administrator Syncfusion Team May 13, 2005 06:11 AM

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.

Loader.
Live Chat Icon For mobile
Up arrow icon