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

Add New Row on Button Click

1 Answer 361 Views
GridView
This is a migrated thread and some comments may be shown as answers.
gerardo
Top achievements
Rank 1
Veteran
gerardo asked on 13 Aug 2020, 11:48 AM

Goo day.

How can I trigger the Add New Row on the DataGrid using a separate button. Are there any sample program available for this?

I also need to have a Button to trigger Edit and Delete of a selected row.

Thank you.

1 Answer, 1 is accepted

Sort by
0
Vladimir Stoyanov
Telerik team
answered on 18 Aug 2020, 07:45 AM

Hello Gerardo,

The RadGridView exposes some useful Commands, which you can use to achieve the desired behavior. The ones that you need are BeginEditBeginInsert and Delete.

Additionally, you can check out the Add a Button Column article, which shows how the commands can be connected to a button. 

I hope you find this helpful.

Regards,
Vladimir Stoyanov
Progress Telerik

Tags
GridView
Asked by
gerardo
Top achievements
Rank 1
Veteran
Answers by
Vladimir Stoyanov
Telerik team
Share this question
or