Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Live Search Drop down PickList Issue

$
0
0
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 Images
File Type: jpg 1.jpg (14.8 KB)
File Type: jpg 2.jpg (27.7 KB)

Viewing all articles
Browse latest Browse all 4756

Trending Articles