This is a migrated thread and some comments may be shown as answers.

Delete rows in radGridView

2 Answers 98 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
JungTae
Top achievements
Rank 1
JungTae asked on 12 Oct 2010, 04:08 PM
Hello Telerik community, I am currently using a telerik radGridView binded to a list of data to add items to the table. I want the users to be able to delete the rows that the user has entered, but not allow the users to delete the existing rows. I have a list which points to the added items, but I cannot find out how to implement the behavior that I want, can someone please help me?

2 Answers, 1 is accepted

Sort by
0
Accepted
Maya
Telerik team
answered on 13 Oct 2010, 11:59 AM
Hello JungTae,

You may try to handle the Deleting event of the grid and allow delete functionality only for those items meeting your requirements. As this event is cancelable, you can set the Cancel property to "True" whenever you want to suppress it. 
 

Best wishes,
Maya
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
JungTae
Top achievements
Rank 1
answered on 13 Oct 2010, 02:45 PM
it worked, thanks a lot Maya!
Tags
General Discussions
Asked by
JungTae
Top achievements
Rank 1
Answers by
Maya
Telerik team
JungTae
Top achievements
Rank 1
Share this question
or