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

[bug] ListGrid.filterOnKeypress and filterEditorType: "TextItem"

$
0
0
SmartClient Version: v10.0p_2015-02-11/EVAL Development Only (expires 2015.04.12_08.43.44) Licensed to: Isomorphic Software (#ISC_EVAL_NIGHTLY)

Chrome, Safari on OSX

please try the #SQLlargeValueMapSQL sample modified like this:
Code:

isc.ListGrid.create({
    ID: "orderItemList",
    width:700, height:224, alternateRecordStyles:true,
    dataSource: largeValueMap_orderItem,
    fields:[
        {name: "orderID"},
        {name: "itemID", title: "Item Name", align: "left", width: "50%", 
        displayField: "itemName", editorType: "SelectItem",  filterEditorType: "TextItem" },
        {name: "quantity"},
        {name: "unitPrice"}
    ],
    autoFetchData: true,
    canEdit: true,
    showFilterEditor: true,
    filterOnKeypress:true
});

when you start typing in the filter for the 'item name' field, you'll see that (almost always) the typed text is deleted after filtering.

Viewing all articles
Browse latest Browse all 4756

Trending Articles