Skip to Content
avatar image
Former Member

Dynamic rows in TableView Iterator

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Jul 18, 2004 at 08:45 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded