Announcement

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

    Diasble autofetch for optionDataSource on SelectItem click

    Hello

    How to disable a fetch operation on optionDataSource when I click on a SelectItem?
    I need fetch occurs only after user press filter button in ListGrid's FilterEditor.

    Following approach doesn't work:

    Code:
    ListGrid pickListProperties = new ListGrid();
    pickListProperties.setFilterOnKeypress(false);
    pickListProperties.setShowFilterEditor(true);
    pickListProperties.setAutoFetchData(false);
    
    selectItem.setAutoFetchData(false);
    selectItem.setPickListFields(field1, field2);
    		
    selectItem.setPickListProperties(pickListProperties);
    1. SmartClient Version: v9.0p_2013-12-02/LGPL Development Only (built 2013-12-02)
    2. IE9, FF 25.0.1

    #2
    This looks like a bug.
    Can you add check of pickListProperties.AutoFetchData value before call AutoFetch on pickList?

    Comment

    Working...
    X