Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
196
Restricting adding new row in xamdatagrid(event fro adding new row)
posted

Hi,

I have a xamdatagrid which is bound to a collection.

My requirement is i should be able to restrict adding any new rows to the grid  after i add 5 items in the Grid.

So i should be able to add only 5 rows in the grid.

Which event of grid i should write this code to restrict adding new rows after 5 items.

Please provide some code samples.

Thanks in advance

SNA