on 05-03-2011 3:08 PM
Hi,
I'm coding a webdynpro; all is in Matrix Layout. I have one Transparent Container with several "rows" each having a Description(MHeadData, String) and a Value (Matrixdata, P Decimals 2). I have another Transparent Container containing different things and an ALV-Grid (about the width of an 15' Screen). I have yet another Container identical with the first one. All these Containers are on the same level (ROOT). I'll try to elaborate by "painting" my problem. Here is the Dynpro in an initial state in runtime:
<Container 1>
DESCRIPTION 0,00
DESCRIPTION 0,00
DESCRIPTION 0,00
<Container 2>
ALV----
ALV
<Container 3>
DESCRIPTION 0,00
DESCRIPTION 0,00
DESCRIPTION 0,00
So far it looks good. I set the property and Layoutdata of each Value (0,00) to ForcedRight. However when the values are filled. The numbers jump to the left and to the right so eventually the commas of the values within one container are vertically aligned to each others. But they are NOT vertically aligned to the commas of the other container, it's all chaos.
<Container 1>
DESCRIPTION 100|0,00 (comma moved to the right, I want the numbers before the comma to move to the left + comma fixed)
DESCRIPTION 1|5,00
DESCRIPTION 4|5,00
<Container 2> |
ALV---- ALV | Pipes = unsightly effort to show that commas are not aligned <Container 3> |
|
DESCRIPTION 344|,00
DESCRIPTION 15|,00
DESCRIPTION 0|,00
Can I accomplish both Containers having some kind of fixed point for their comma-values? If I just throw everything in one container, the ALV-Grid pushes everything to the far right. I tried to play around with Matrix/Grid-Layouts here, no success.
any ideas?
regards, Lukas
Just a thought.
Try to achieve your requirement imitating something similar to a column layout.
You need to design your View in similar way as this WDA component "wdr_test_ui_elements"
Regards,
Ashish Shah
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Ashish,
thanks for your response. I tried adapting the "column-layout" of the said WD4A. Yet, I still have the same problem; the commas of the numbers are not vertically aligned. They are, if I adjust the container levels but then the ALV-Grid pushes everything to the right (even with correctly said col-span).
regards, Lukas
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.