This discussion is archived
4 Replies Latest reply: Dec 10, 2013 12:20 AM by fac586 RSS

Programmatically Populate tabular form using cursor

user10892984 Newbie
Currently Being Moderated

Apex version: 4.2.3

In my page I've one form region and one tabular region.

In one item of form region contain a dynamic action.

my tabular region based on T_2.

Now I need to populate tabular region programmatically by firing dynamic action.

Example:

Select Col_1,Col_2

From T_2.

this query returning 10 rows.

now I need to populate these 10 rows on tabular region.

after that i'll add some more rows by clicking on "Add Row" button.

 

Please help me that how can I add row programmatically in tabular region by using cursor and loop.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points