cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic addition of values in Popup

Karthikrcn
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi ,

I have a requirement to display a pop-up with check boxes and labels for the check box.

Pop-up has to contain 'n' rows , each row having a check box (with a label).

I dont know how to dynamically add rows in the pop-up ?

(I just meant rows to give a more clear picture , not that the pop-up would contain tables)

When i add dynamically check boxes to the pop-up, i have to add events too.. for their functionality.

Could anyone please help me ?

Thanks !

Karthik.

Accepted Solutions (1)

Accepted Solutions (1)

sureshmandalapu6
Active Contributor
0 Kudos

Hi Karthik,

You ned to create the UI elements dynamically as per the requirement.

First you need to count howmany rows are for display. With help of the For loop, you can put the condition as howmany rows and in the for loop code, write the code for displaying the checkbox and label whatever you want to create. Follow the below link for dynamic UI creation

http://help.sap.com/erp2005_ehp_03/helpdata/EN/4f/07cf3dd28b5610e10000000a114084/frameset.htm

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6fdae690-0201-0010-a580-d104b459...

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/74cda090-0201-0010-6b91-f85b2489...

http://help.sap.com/saphelp_nw04/helpdata/en/24/4e70c63574ec4284d0f47324ab2d0e/frameset.htm

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/74cda090-0201-0010-6b91-f85b2489...

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6fdae690-0201-0010-a580-d104b459...

Thanks

Suresh

Edited by: Suresh Mandalapu on Aug 24, 2008 8:33 AM

Answers (0)