cancel
Showing results for 
Search instead for 
Did you mean: 

rows or columns to be read only

former_member632991
Active Contributor
0 Kudos

Hi,

I need to set Cells or Rows to Read Only If some attribute doesnt contain any value.

First i have to search for records basd on some condition and display it in the table. And the records will be read only if certain attribute/field of the record is NULL.

Regards,

Sonika

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

For this scenario, you just bind the all the fields which u want to make them read only depending on the condition to the one context flag variable to the Visisble property of the each column.

Then write the logic in method WDDOMODIFY , when it has to be disable and enables. then your problem will be solved.

Best Regards,

Vijay

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Sonika,

for tables the individual cell editors used within the column have properties that can be mapped to the context for things like read only and visibility.

So you can turn the Cell on and off programmatically by changing the context.

Access to column and cell variants is also possible via the so called MODEL on the ALV

component. Check some the of the standard demos beginning SALV* for ALV examples.

regards

Phil.