cancel
Showing results for 
Search instead for 
Did you mean: 

Editing Cell Column of a selected row in UI table element.

Former Member
0 Kudos

Hi Experts,

I have a UI Table Element with three columns. First two columns are input fields in read only mode. Third column is a text edit field.

Now when I Select a row and press a button 'EDIT' i want that particular rows third column CELL alone to be in editable mode.

In order to achieve this, I created a WDY_BOOLEAN attribute in the same node which is used to bind the table. I binded this attribute to the READ ONLY property of third column.

In the EDIT button i wrote the following code.

lo_el_n_stp->set_attribute(

EXPORTING

name = 'A_EDIT'

value = ' ' ).

Here A_EDIT is the name of the attribute.

When i do this, my first rows third column is only going to EDIT mode and not the row which i selected.

Please tell me how to solve this problem.

Thanks in advance.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks all.The problem is solved.

arjun_thakur
Active Contributor
0 Kudos

Hi,

Refer :

Former Member
0 Kudos

Hi thanks for your reply.I have already tried this, the problem is i am not getting the seleted row value by using the below code

l

lo_nd_node1->get_static_attributes(

IMPORTING

static_attributes = ). "here you will get the selected row

Its giving me the first row value.

Edited by: Delphi on Mar 11, 2010 11:52 AM

Former Member
0 Kudos

Use get_lead_selection_index method to get the index of the selected row

arjun_thakur
Active Contributor
0 Kudos

Hi,

Refer the reply of Manoj in this thread:

I hope that you have an edit button in each row of your table.