Radio button column in the grid

1 Answer 598 Views
Grid
Amit
Top achievements
Rank 1
Amit asked on 19 Oct 2021, 12:43 PM

Hi,

Implementing radio buttons in the grid - where the user can only select one row at a time - probably entails a custom cell with a radio button in each row - where the 'name' property is the same for all the rows. A search in the grid forums for the keyword 'radio' did not yield a result. Since this could be a fairly common scenario was checking to see if there is a sample for this that has already been created.

Thanks and regards,

Amit

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 20 Oct 2021, 01:33 PM

Hello, Amit,

Yes, this can be done using a custom cell for the column in question.

It could be done like this:

https://stackblitz.com/edit/react-migfcr?file=app/main.jsx

Then the developer can add extra logic for editing or other functionalities that are needed.

Regards,
Stefan
Progress Telerik

Remote troubleshooting is now easier with Telerik Fiddler Jam. Get the full context to end-users' issues in just three steps! Start your trial here - https://www.telerik.com/fiddler-jam.
Tags
Grid
Asked by
Amit
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or