on 10-21-2014 5:21 PM
Hi Experts,
Can we alter the rows of RowRepater UI element with different colors as we use use alternative in ALV.
For eg: If we have 5 rows can we make 1,3,5 with light blue and 2, 4 with plain color.
Can we achieve it..
Hi,
Set the 'design' property of Row Repeater to 'alternating' instead of transparent, so that you can have altering colors.
hope this helps,
Regards,
Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
For Table, you can set the color to cells using cellDesign but for RowRepeater you cannot set colors like Table/ALV. You can only use/set the standard sap colors( like sapcolor/primarycolr/secondarycolor etc) .
It's not possible to set colors to RowRepeater like in Tables.
hope this clarifies!
Regards,
Kiran
Hi Kiran,
I have one more question.
Whenever we are clicking back button in second view it should navigate to first view.
I have called invalidate( ) method in Action(BACK) of second view.
After that i am going again to the second view,when i am doing this the second view is getting empty but my question is whenever we call second view WDDOINIT method should be called thereby node will get again populated.
Why WDDOINIT method is not getting called from going to first view to second view back and forth.
Hi Kiran,
I got it done by myself.
It depends upon the lifetime Property of View.
If we select lifetime as Framework Controlled then the view will be deleted with the component.
and on selecting lifetime as When Visible then the view instance will be deleted whenever we come out out of that view.
So my issue is resolved on selecting lifetime property as Visible...
Please correct me if am wrong Kiran.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.