Batch Edit Grid with Radio Buttons

2 posts, 0 answers
  1. RAJAT
    RAJAT avatar
    3 posts
    Member since:
    Aug 2017

    Posted 01 May Link to this post

    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

  2. Eyup
    Admin
    Eyup avatar
    3867 posts

    Posted 06 May Link to this post

    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.
Back to Top