cancel
Showing results for 
Search instead for 
Did you mean: 

How to code OnEnter event for editable Table column?

Former Member
0 Kudos

Hi all,

I have a requirement to create a Web Dynpro table with many columns. Few columns user input is required.

Once the user's entered the values in these columns,

need to perform some calculations update the data in the display only fields of the same row.

I managed to create the editable and displayed columns. I have assigned OnEnter event to editable columns.

But i am not sure how to know the index of the row of the table that user entered the value in the OnEnter method.

How to get that information?

Please let me know.

Thanks,
Vamshi

Accepted Solutions (1)

Accepted Solutions (1)

former_member210804
Active Participant
0 Kudos

Hi Vamshi,

Please go though the below link.

Button at row repeater - How to identify what l... | SCN

use the same code in ONENTER event. you can get the index of the changed data.

Best regards,

Rao.

Former Member
0 Kudos

Hi Rao,

Thank you very much for your reply. It solved the issue.

Also, this On Enter is working only after Pressing the enter.

Is there any way, after entering the value and moved to other table column or row, to trigger a event like this.

Thanks,
Vamshi

former_member210804
Active Participant
0 Kudos

Hi Vamsi,

Yes. If you use the same method for the both table columns in ONENTER event, we can trigger both at the same time.

If you want to distinguish columns of same or different tables, you have to assign different methods for ONENTER event.

hope you understood.

Best regards,

Rao.

Answers (0)