Get grid values on button click

Greeting,

I want to get the grid row values and pass them to other controls. This must happen when I click on a button generated collumn inside the grid. ON click should only bring the values of the row getting clicked. Could you provide an example on how to do this. 

Regards,

Corando



1 Reply

FS Farveen Sulthana Thameeztheen Basha Syncfusion Team May 5, 2022 02:32 PM UTC

Hi Corando,


In our Syncfusion Grid, we can access the particular row values on button click using Custom Command feature of the Grid. You can add custom button in the command column by specifying the Type property of Commands as “empty” or any other string. Refer to the demo and documentation link:-


https://asp.syncfusion.com/demos/web/grid/customcommand.aspx

https://help.syncfusion.com/aspnet/grid/columns#custom-buttons


Please get back to us if you need any further assistance.


Regards,

Farveen sulthana T


Loader.
Up arrow icon