cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Radio button in table view

Former Member
0 Likes
981

Hi,

I am having scenario to put 3 radio buttons (for 3 columns as group) in table view using table view iterator.

How can I create a radio button like input field in iterator through CL_HTMLB_RADIOBUTTON class.

Can anybody please give me solution how to do it.

Thanks in advance

Srinivas S

View Entire Topic
athavanraja
Active Contributor
0 Likes

Hi,

check out this weblog by Brian.

/people/brian.mckellar/blog/2003/10/31/bsp-programming-htmlb-tableview-iterator

code for radiobutton would be like below in the IF_HTMLB_TABLEVIEW_ITERATOR~RENDER_CELL_START method.


p_replacement_bee = cl_htmlb_radiobutton=>factory
  EXPORTING
*    CHECKED       =
*    DISABLED      = 'FALSE'
*    ENCODE        = 'TRUE'
    id            =
*    ID_POSTFIX    =
*    KEY           =
*    ONCLICK       =
*    ONCLIENTCLICK =
*    TEXT          =
*    TOOLTIP       =
  receiving
    element       =
    .

Regards

Raja