Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Make a column of Checkboxes simulate a column of Option Buttons


I want to create a column of option buttons in my grid because I want only 1 row to be selected.

However, I am not sure it can be done. Can it?

If I use this code:

oGrid.Columns.Item("HandOver").Type = SAPbouiCOM.BoGridColumnType.gct_CheckBox,

Intellisense tells me that only the foll. choices exist: CheckBox, ComboBox, EditText, Picture.

So, I will try to create a column of Checkboxes programmed so that only 1 checkbox can be ticked.

If a 2nd one is ticked, the one before is unticked.

Can you give me some ideas how this can be done most simply and with minimum of looping?

No codes are necessary for the moment, only ideas.


Leon Lai



Hi Leon,

I think it's possible without looping. As long as you capture the click or pressed event as do the "correct" saving of the row it should be possible without looping.

Best regards,

Pedro Magueija

View Pedro Magueija's profile on LinkedIn

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question