on 04-03-2009 7:13 AM
Hi every one
I want horizontal bar whose color changes according to condition applied.For this I had searched on sdn.For this I found value comparision UI element .To set it values for different colors I found class CL_WD_GRAPHICAL_VALUE_CMP and method of it SET_COLOR_ABOVE_THRESHOLD,SET_COLOR_BELOW_THRESHOLD andSET_COLOR_BETWEEN_THRESHOLDS,but i dont know how to use to in my application.Can anyone Pls let code for using thisclass?
Thanks and regards
Edited by: prashant sharma on Apr 3, 2009 8:13 AM
Edited by: prashant sharma on Apr 3, 2009 8:29 AM
Hi Prashant ,
Check the standard Component - WDR_TEST_UI_ELEMENTS in your system.
Hope this will helps you.
Regard
Manoj Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
Refer this doc.
With this document , you will be able to change color of particular Cell.
I hope you are refering to Cell as a Horizontal bar.
Thanx.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Saurav,
I created an ALV report in which I have assigned a color to some cells using the tutorial you posted.
The problem is that when I want to sort a column, all the colors disappear.
Do you know how to keep the assignment of the colors to the cells after a sorting?
Thank your for your help.
Regards,
User | Count |
---|---|
95 | |
11 | |
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.