Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
280
Add Radio button in ultragrid.
posted

Hi Infragistics,

  • I have to add a radio button in the first column of each row.
  • User could select only 1 radio button at a time.
  • I am using windows forms.

--------------------------------------------------

           Column 1    column2

  • Column1     column2
  • Coulmn1     column2

------------------------------------------------

This is how my page will look like.

Thanks & Regards,

suman george

Parents
  • 18495
    Suggested Answer
    posted

    Hello Suman,

    Thank you for contacting Infragistics.

    I've attached a sample project which demonstrates how to get the functionality you're looking for.  I added two radio buttons to the form to be used as the editing and rendering controls for the ControlContainerEditor object I created in code and set as the column's Editor property in the UltraGrid.InitializeLayout event handler.  I then handled the UltraGrid.CellChange event and set the value of every other cell in the first column to false if the event was being fired for a cell in the first column and the value being edited was True.

    WinGridRadioButton.zip
Reply Children
No Data