Hi Adrija,
For this, you can add one more column to the datagrid2, and set it to custom content, and then in the new column, you can add any button of your choice.
Hope it helps!
Hi Adrija Chakraborty
1. double click on data grid2 and add columns like name and action
2.select action column type custom and add a edit button on that column shown images below
I hope it will help you !
Thank You ,
K. Ravi Kumar