on 12-04-2006 3:35 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.