SmartClient Version: v11.0p_2016-05-22/EVAL Development Only (expires 2016.07.21_04.37.11) Licensed to: Isomorphic Software (#ISC_EVAL_NIGHTLY)
Chrome on OSX
Please modify the #inlineOperatorFilter sample like this:
I've just added canEdit:true and filterOnKeypress:true, so you may set to null some value for testing.
Then if you try filtering by 'is null' or 'is not null', you'll notice that the filter isn't automatically triggered: you have to click the filter button.
While it's true that you aren't pressing any keys, I think that for those operators the filter must be performed right after the operator selection (when filterOnKeypress:true).
What do you think?
Chrome on OSX
Please modify the #inlineOperatorFilter sample like this:
Code:
isc.ListGrid.create({ ID: "countryList", width:500, height:300, alternateRecordStyles:true, dataSource: worldDS, canEdit:true, filterOnKeypress:true, fields:[ {name:"countryCode", width:50}, {name:"countryName"}, {name:"capital"}, {name:"continent"}, {name:"area"}, {name:"population"} ], autoFetchData: true, showFilterEditor: true, initialCriteria: { _constructor: "AdvancedCriteria", operator: "and", criteria: [ { fieldName: "countryName", operator: "iNotContains", value: "i" }, { fieldName: "capital", operator: "iNotStartsWith", value: "p" } ] } });
Then if you try filtering by 'is null' or 'is not null', you'll notice that the filter isn't automatically triggered: you have to click the filter button.
While it's true that you aren't pressing any keys, I think that for those operators the filter must be performed right after the operator selection (when filterOnKeypress:true).
What do you think?
Comment