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
close icon

currentRowIdx

How to put a new record at the end of the grid and also put a cursor position on that place?

1 Reply

AD Administrator Syncfusion Team October 11, 2005 12:15 PM UTC

What type of grid are you using? GridControl? For GridControl, try grid.RowCount += 1; grid.CurrentCell.MoveTo(grid.RowCount, 1); For a GridDataBoundGrid, there is normally a Addnew row already present so all you would have to do is to call grid.CurrentCell.MoveTo(grid.Model.RowCount, 1).

Loader.
Live Chat Icon For mobile
Up arrow icon