cancel
Showing results for 
Search instead for 
Did you mean: 

InputField width = X%

Former Member
0 Kudos

Hello!

I've got a form, where many types of elements are used. But there is a small problem with InputFields - how could I specify that the field will take whole width of the column in a GridLayout - for other components I just specify width=100%, but InputField doesn't have the propery, layoutProperies/width has no effect.

Only "length" property defines how broad the field will be, but I don't know how to calculate the value in a view...

It would be also ok to use TextArea instead - but I can't find a way to disable vertical scrollbar for the element.

Any help will be appreciated!

Thank you!

Best regards,

Nick

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Which Web Dynpro version are you using?

In current versions, the input field has a width property of type CSS size, so you can also set a percentage value.

By the way, you should generally use MatrixLayout instead of GridLayout.

Armin

Former Member
0 Kudos

Thank you for the info Armin,

I'm using WAS/IDE SP7.

Counter question, what is "current" version(s)?

Thank you again!

Best regards,

Nick

Former Member
0 Kudos

Hi,

Current version is SP9.

Regards,

Victor.

detlev_beutner
Active Contributor
0 Kudos

Hi Victor, hi Nick,

current version is SP10 (since second week 2005), SP11 is coming in second week of March.

Hope it helps

Detlev

Answers (0)