cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic rows in TableView Iterator

Former Member
0 Kudos

Hello All,

I am developing an application in which there would be a TableView with last column as a button. OnClick event on the button should add the row below the current row (the facility should be like an Excel spreadsheet where we can insert the rows below). Can it be acheived by re-populating the internal table which his attached with TableView Control.

Is it Ok to use TableView in such a condition or we have to go with pure HTML tables or some kind of ActiveX controls?

Thanks in advance.

Thanks And Regards

Rajeev Patkie

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member181879
Active Contributor
0 Kudos

Hallo Rajeev,

> Is it Ok to use TableView in such a condition...

It is OK to use the tableView as long as it works for you! Once we run into problems, then of course one has to see if the functionality is "working as designed" and whether it was designed to handle your specific request.

However, what you want to achieve sounds relatively harmless. Just use onclick on the button to trigger a server round trip. (Nice idea: write the row index directly into the onclick string!). Then add a new empty row into your at the correct index (see ABAP documentation), and just render table new.

All of this should be relatively easy. Why don't you try, and let us see what you achieve.