cancel
Showing results for 
Search instead for 
Did you mean: 

How to add element to view at runtime

Former Member
0 Kudos

Hi

I want to add one radio button to the at runtime

let me know the procedure where to add the code.

regards

mmukesh

Accepted Solutions (0)

Answers (4)

Answers (4)

abhijeet_mukkawar
Active Contributor
0 Kudos

hi,

use following code in WdmodifyView(),

IWDTransparentContainer tcont = (IWDTransparentContainer)view.getRootElement();

tcont.createLayout(IWDMatrixLayout.class);

IWDRadioButton radButton = (IWDRadioButton)view.createElement(IWDRadioButton.class,<name of radio button>);

tcont.addChild(radButton);

this will add radio element in you view.

Regards,

Abhijeet

Former Member
0 Kudos
Former Member
0 Kudos

Dear Mukesh,

If you want to add any element at runtime then this is done in wddoModifyView()

method of the View's implementaion part..

regards

Anil Dichpally

Former Member
0 Kudos