Skip to Content
author's profile photo Former Member
Former Member

TableView Iterator /save data

Hello Everybody,

I use a HTMLB TableView Iterator like the Blogs /people/brian.mckellar/blog/2003/10/31/bsp-programming-htmlb-tableview-iterator

but with MVC-Logic, it's work perfect.

The Problem is: if I change a data from a Cell don't will be save it.

Please how can I do it?

Thanks in advance.

Regards

Adid

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Oct 16, 2006 at 09:35 AM

    Hi Adid,

    This is your part to implement.

    You have to retrieve the data (there is a class CL_HTMLB_MANAGER that does it magnifically) and modify your internal table consequently.

    If you want to update the DB, you have to perform the necessary steps too.

    Here is an example :

      data: table_event type ref to cl_htmlb_event_tableview,
            table       type ref to cl_htmlb_tableview.
    
      table ?= cl_htmlb_manager=>get_data( request = runtime->server->request
                                           name    = 'tableView'
                                           id      = tableview_id ).
    
    
      table_event ?= table->data.
    
      value = table_event->get_cell_value( row_index    = row_index
                                           column_index = column_index ).

    Best regards,

    Guillaume

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 16, 2006 at 09:41 AM

    Tank's Guillaume.

    I have to implement the Code into the Method DO_HANDLE_DATA()???

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.