cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with Item list box UI element

Former Member
0 Kudos

Hi,

I used the item list box UI element and the property visible Items is set as 5.

The values in the item list box is binded in view controller wdinit method , the context contains 7 values that needs to be displayed in list box but even when the visible items are set to 5 it shows the all 7 item in the output .

also I observe that I have the button to trigger event , after that button is pressed it re sizes the item list box with visible item as 5 .

is this the way item list box UI element work ? can anyone provide some input on this.

Regards,

Amar Kamat

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Is this UI elment dynamic. Or you have set th property of visiblt items during the static/initial deisgn ie I mean in the layout.

Create an context attribute for visible items.

Bind this to the above property and set the initial value in WDDOINT as 5.

Or in the modify view - use the method SET_VISIBLE_ITEMS of CL_WD_ITEM_LIST_BOX.

Or

Bind that listbox item table in any handler/modify view not in WDODINT.

Regards,

Lekha.

Former Member
0 Kudos

Hi Lekha,

The Visible items property is statically assigned at design time in layout. Even I tried to fill the item list box with Supply function method but it didn't workout.

Can anyone please through some light on this .

With Regards,

Amar Kamat