cancel
Showing results for 
Search instead for 
Did you mean: 

Making table view editable and process data

Former Member
0 Kudos

Hi,

I have a MVC application and use a table view in the view of one of my controllers.

In this table view, I want to set some columns as editable. When something has been changed, I want to change also my internal table and the database table.

How can I do that?

Thank you!

Reward points guaranteed

Accepted Solutions (1)

Accepted Solutions (1)

raja_thangamani
Active Contributor
0 Kudos

Hi,

Look at the below thread to update the Tableview.

<i>*Reward each useful answer</i>

Raja T

Former Member
0 Kudos

Hi Raja,

thank you for your answer. But this is showing how to do it in BSPs with flow

logic, not for MVC. How can I do that now?

I have created a class implementing the iterator interface IF_HTMLB_TABLEVIEW_ITERATOR. And if I´m clicking anything on my table view, it is stopping in the three methods of the iterator class.

What what can I do now? On <htmlb:tableViewColumn - level I set the attribute "EDIT" to true. Now, if I have marked one line, I can change the field value. But everytime I´m looking with the debugger in the methods of the iterator class, I can´t see any changes!

Don´t know how to implement table view changes....

Any good example for MVC?

Thank you!

Patrick_McMahon
Contributor
0 Kudos

Hi Arne,

Have a look at this <a href="/people/sergio.ferrari2/blog/2006/08/28/bsp-in-depth-model-data-binding It looks at data binding which will do what you want without the need for additional coding.

Regards,

Patrick.

Answers (0)