cancel
Showing results for 
Search instead for 
Did you mean: 

Table not ready for input

Former Member
0 Kudos
101

hello folks,

i got a table in a view, whereas its readonly-attrbute is bound to a context attribute named X_READ_ONLY (type WDY_BOOLEAN). on the first call of the view X_READ_ONLY is initial, which means, that the table appears as input ready. unfortunately, the table only appears to be ready for input, which means, that the background color of the cells is white, but i can not change any value of any cell.

as soon as X_READ_ONLY becomes 'X', the background color of all cells turns grey, indicating that the table is not ready for input any more.

what can be the reason, for the table not becoming truely input ready?

the table is bound to a table-attribute of a class object reference, whereas this attribute is NOT marked to be read-only!!!

thx

mike

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Mike,

To have an editable table, the fields of your table must be bound to a cell editor of type 'Input field'. Check if this is done.

Then, you should bind the read_only property of each input field to the context attribute. Not the read only of the table. This way, you can bind different columns to different attributes and make selected columns only as editable etc. For each field in your table, you will have a cell editor. Do the binding for each cell editor, i,e each column.

Regards,

Nithya

Answers (1)

Answers (1)

S-H
Advisor
Advisor
0 Kudos

Hi Mike,

There is an issue with the table read only property, when we set the read only property of the table, the table will be white.

Instead of this make all the cell editors read only / editable based on the condition.

Best regards,

Suresh