cancel
Showing results for 
Search instead for 
Did you mean: 

MultiLineEdit

Former Member
0 Kudos

Hi,

Can anyone explain how to use the MultiLineEdit in a tableview using MVC.

My scenario:

I would like to edit multiple lines in a tableview when I clicked on the save button the edited lines has to be saved

in the ztable.

Regards

Raghu

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Raghu,

First u will have to implement table iterator for ur tableview. The iterator interface needs to be implemented in a class and its reference needs to be given in ur controller class attribute.

Then all the manipulations in ur default table needs to be implemented in the 3 methods of the iterator interface.

Name of the iterator inteface is :IF_HTMLB_TABLEVIEW_ITERATOR

All the coding to handle the editing part of table needs to be written in Do_handle_event of ur controller class, here u can retieve the edited part in the table and then insert in the table.

Hope this will help u to start.

Regards

Swati Dogra

Former Member
0 Kudos

Hi Swati,

Thanks for your respnose..

how to copy the edited lines and save to the ztable. Do I need to use a loop in do_handle_data and copy the

edited lines into an internal table using get_form_fields. Actually i am bit confused here...how to copy the multiple

edited lines.

regards

raghu