Announcement

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

    Live Search Drop down PickList Issue

    Version Information:
    Code:
    <gwtVersion>2.5.1</gwtVersion>
    <smartGwtVersion>4.0p-2013-12-23</smartGwtVersion>
    Browser : IE9, Chrome 64 Bit


    Our combobox (titled Link to OFI in the images) pulls data from database using REST service. We create ListGridRecord from data which is set as TestData
    Code:
     SearchRequest request = GWT.create(SearchRequest.class);
            request.searchString = linkToOfi.getValueAsString();
    
            restService.searchByName(request, new Result<ResultList>() {
                @Override
                public void onResponse(ResultList resultList) {
                    getOptionDataSource().setTestData(convertListToArrayOfListGridRecords(resultList));
                    fetchData();
                    showPicker();
                }
            });
    Please have a look at images.
    The picklist is supposed to be displayed downwards (or upwards if there is not enough space) but somehow in our case it appears in middle of screen (in email field) which is not even in same section (Account Details).
    This happens only when the browser window is resized in the a way that ComboBox is right at the bottom of browser window. Behaviour seams to be same across all browsers.
    Any ideas how to fix it please.
    Attached Files

    #2
    This would seem to be unrelated to your dataSource - from your description it appears to be purely a client-side problem where the logic to position the picklist is broken.

    Can you confirm whether this happens with the latest nightly build on the branch you're on as if this is a framework bug it seems very likely this would already be fixed.

    If it does persist, can you show us a way to reproduce the problem using one of the SmartClient samples, or if the problem doesn't occur there, a simple test case we can run which mimics the relevant part of your application's UI?

    Thanks
    Isomorphic Software

    Comment

    Working...
    X