Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    ComboBoxItem in the Grid - picklist position problem

    Hello,

    We use SmartGWT Version: v5.0p_2016-03-19/Enterprise Edition Deployment
    Browser: Safari Version 9.02/ Chrome

    We are using two comboBoxItem in a ListGrid, both of which load data on the fly from a DataSource, where one of the comboBoxItem (Combo-A) drop-down controls the list of available items in another comboBoxItem (Combo-B) drop-down pick list. While less items are loaded into Combo-B (example 2 or 3 items), the position of the pick list will be placed incorrectly.

    I found that there is same problem in one of the smartgwtee showcase, please refer "http://www.smartclient.com/smartgwtee/showcase/#transactions_queued_md", while we click Item comboBox after select "Wrapping Dispenser" in the category, it will have a big gap between the Item comboBox and the pick list result. (please refer to the attachment)

    I would appreciate some help here.
    Thanks.

    Click image for larger version

Name:	ComboProblem.png
Views:	282
Size:	454.3 KB
ID:	236167

    Best Regards,
    Lee

    #2
    We see the issue in the sample - you have to carefully arrange for a very rare situation:

    1. the ComboBox is close to the bottom of the screen, such that the pickList is forced to appear above the ComboBox
    2. a very small number of items is shown, less than the default emptyPickListHeight

    Since the pickList needs to be shown while items are being fetched (since otherwise the user may perceive that nothing is happening), the only alternative is that the pickList moves downward once items are retrieved and the final size is known. We don't see that as a clearly better option. Since this is rare, cosmetic only with no functional issue, and the only alternative behavior doesn't have a clear cosmetic or functional advantage, we're considering this "won't fix" for now.

    Comment

    Working...
    X