on 04-10-2008 9:27 AM
Hi all,
i have a table in my WD View.
i want to disable certain cells of the table on runtime.
how do i do that.
please replly soon.
Thanks & Regards,
tao wang.
Hi,
if you 're talking about hiding columns:
You can create in your context some attributes for the columns you want to handle.
eg layout_node with attributes col1, col2, col3
all attributes of type wdy_boolean
when you bind this attribute to the visible attribute of the corresponding column
setting the attribute to abap_true enables it, abap_false will hide the column
if it is setting read-only:
do the same thing but bind the attributes to the read-only attribute of the celleditor
true/false will now be inversed.
the entire column will become readonly or not.
if its for setting seperate cells:
you should add the attributes col1... to the datanode and bind them to the celleditors
read-only attribute
grtz,
Koen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.