1) You can try using the CurrentRecordContextChange event.
this.gridGroupingControl1.Table.CurrentRecordContextChange += new CurrentRecordContextChangeEventHandler(Table_CurrentRecordContextChange);
private void Table_CurrentRecordContextChange(object sender, CurrentRecordContextChangeEventArgs e)
{
if(e.Action == CurrentRecordAction.EnterRecordComplete)
{
int index = 1 + e.Table.FilteredRecords.IndexOf(e.Record as GridRecord);
int count = e.Table.FilteredRecords.Count;
this.label1.Text = string.Format("{0} of {1}", index, count);
}
}
2) Try RowEnter.
this.gridDataBoundGrid1.RowEnter += new GridRowEventHandler(gridDataBoundGrid1_RowEnter);
private void gridDataBoundGrid1_RowEnter(object sender, GridRowEventArgs e)
{
int count = this.gridDataBoundGrid1.Model.RowCount - ((this.gridDataBoundGrid1.Binder.AllowAddNew) ? 0 : 1);
this.label2.Text = string.Format("{0} of {1}", e.RowIndex, count);
}