Hi,
I want to restrict that the grid user cannot add more than 20 rows.
Thanks.
One thing you can do is hook into BeforeRowInsert event of the grid and cancel it when the limit is reached. Ofcourse you'll have to keep track of how many rows the user has added so far. There's also a MaxRows property on the band which restricts total number of rows in that band - the user will not be allowed to enter any more rows once MaxRows is reached.
Sandip