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

Batch Edit Grid with Radio Buttons

1 Answer 144 Views
Grid
This is a migrated thread and some comments may be shown as answers.
RAJAT
Top achievements
Rank 1
RAJAT asked on 01 May 2019, 05:13 PM

Hi everyone,

I'm trying to build a page that shows a radgrid with a series of rows.  Each row has a role name (from oracle) and a radio button with continue or revoke and a comments field.  Pretty simple right?  So I would like the user to be able to click on Continue or Revoke for each role and then add a comment if they like.  At the end they can hit the "save changes" button.

It seems like with Batch Edit mode, you have to select a row first, then click on a radio button.  Which is two clicks instead of one.  But if you don't do that then you don't get the command in the GridBatchEditingEventArgs of the BatchEditCommand event.

 

Has anyone else been able to successfully implement this type of functionality?  Is there a trick of some sort?

 

Thanks in advance,
Cory

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 06 May 2019, 12:39 PM
Hi Cory,

Usually, this is the case with checkboxes:
https://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/batch-editing/defaultcs.aspx

You can implement something similar to this:
https://docs.telerik.com/devtools/aspnet-ajax/controls/grid/data-editing/edit-mode/batch-editing/how-to/editing-checkboxes

I hope this will prove helpful.

Regards,
Eyup
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Grid
Asked by
RAJAT
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or