Hi Edijs ,
The gridDataBound.Model.RowCount will include the AddNew row if you have one so it might be 1 more than the number of rows in the DataTable. The AddNew row does not have a record associated with it until it is actually added.
Please refer to the following forum thread for more details.
RowCount :
http://www.syncfusion.com/support/forums/message.aspx?&MessageID=15489Grid Last Row:
http://www.syncfusion.com/support/Forums/message.aspx?&MessageID=28914Best Regards,
Haneef