on 07-09-2014 3:23 PM
Hello Friends,
Situation : Webdynpro App utilizing re-usable ALV component to Edit(changed/modify) Employee records.
I have used to the class cl_salv_wd_uie_a_input to make certain columns read_only and colored(cell background only).
My requirement :
Suppose there are 4 rows and based on if a certain condition is staisfied(lets say 2 rows), then i have to changed the color ONLY THE TEXT(to RED). There is certain meaning for the rows for such records which users can easily interpret.
I have tried to used CL_SALV_WD_UIE_TEXT_VIEW(which i have successfully color coded the texts), but i lose the editing capabilities.
The webdynpro App uses a EDITABLE-ALV meaning that, user can insert/modify/delete records and save them in the DB.
Is there anyway to have both this features using above said situations and consequences?
OR
Pls share any workaround if anyone has tried this before?
Regards
Vinay.
Example.
PERNR | COL1 | COL2 |
102984 | UYYER | IIIELX |
102983 | DFKLJJ | DOFUOU |
102985 | DOFJDOFU | DFOIUOIU |
102988 | DFOADSFUOU | OSDUFOU |
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
We can assign semantic colors only to text view fields. So in this case since you are forcibly changing the view to text view, for text coloring, we are losing the edit fields capabilities. Instead setting the type of field( text view / input view ) based on the your condition could be best, so that editing capabilities is also not missed and text coloring is also not missed.
Or you can set all fields to input fields and set the read only/edit property based on the condition and set the cell design of the fields accordingly, so that the users can distinguish easily.
Regards,
Harsha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.