cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic UI Manipulation

Former Member
0 Kudos

Hi All,

i have created context and the ui elements dynamically. i have binded the ui elements to the context also through coding. i want to change the alingment of inputfiled dynamically through coding . how to do this?........ please help on this.....

regards,

shreeharsha

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

What do you mean with "alignment of input field", the horizontal/vertical alignment of the input field in its layout or the alignment of the value inside the input field?

Armin

Former Member
0 Kudos

hi,

alignment of value inside the input field from left to right. by default it is right to left now. when i type something the the value should display from left to right.

siarhei_pisarenka3
Active Contributor
0 Kudos

Hi

Create attribute of type "com.sap.ide.webdynpro.uielementdefinitions.TextDirection". Bind textDirection property of the input field to the attribute. You can use method

bindTextDirection(IWDAttributeInfo attributeInfo);

for the purpose.

Set the attribute values WDTextDirection.LTR or WDTextDirection.RTL.

BR, Siarhei

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Shreeharsha,

I think you can't change the order but I think you can change the layout of the container.

But I have never tried this, if you got success in this way please share your solution with me as well.

Ninad

Former Member
0 Kudos

k sure