H.Aadhithya
H.Aadhithya

Reputation: 205

Vaadin ComboBox popup sizing Issue

I am having an issue with the Vaadin 8 ComboBox.I want to adjust the PopUp page according to the no. of records . Because since the default value is 10 and say if I am having 41 records , I am being left with almost a blank page with only one record at the last page . Is there any way to fix this ?

screenshot

Upvotes: 1

Views: 151

Answers (1)

Tatu Lund
Tatu Lund

Reputation: 10623

I would recommend to check ComboBox.setPageLength(x) method

JavaDoc states:

Sets the page length for the suggestion popup. Setting the page length to 0 will disable suggestion popup paging (all items visible).

Upvotes: 3

Related Questions