SmartClient Version: v11.0p_2016-04-26/EVAL Development Only (expires 2016.06.25_09.26.45) Licensed to: Isomorphic Software (#ISC_EVAL_NIGHTLY)
Chrome on OSX
Hello, I've got a custom filterEditor on a ListGridField which users need to filter only for notNull, where I've defined a formatValue function which displays an icon (without text).
With SmartClient 11, the icon disappear after the filtering.
I managed to create a test case, similar to my use case.
Please modify the #filter sample like this:
and the filter by countryName, selecting the only available option. You'll see that the icon appears in the filterEditor cell after selecting the option, and then disappears.
Also, if you try to select the empty option, no filtering happens.
This was working with 10.1, for example try this same test case with:
SmartClient Version: v10.1p_2016-04-30/Enterprise Development Only (built 2016-04-30)
Chrome on OSX
Hello, I've got a custom filterEditor on a ListGridField which users need to filter only for notNull, where I've defined a formatValue function which displays an icon (without text).
With SmartClient 11, the icon disappear after the filtering.
I managed to create a test case, similar to my use case.
Please modify the #filter sample like this:
Code:
isc.ListGrid.create({ ID: "countryList", width: 500, height: 224, alternateRecordStyles: true, dataSource: worldDS, autoFetchData: true, fields: [ {name: "countryCode", title: "Flag", width: 50, type: "image", imageURLPrefix: "flags/16/", imageURLSuffix: ".png"}, { name: "countryName", title: "Country", filterOperator: "isNull", filterEditorType: "select", filterEditorValueMap: {'United States': 'US'}, filterEditorProperties: { formatValue: function (value, record, form, item) { if (value == 'US') { return form.imgHTML("flags/16/US.png"); } } } }, {name: "capital", title: "Capital", showIf: "false"}, {name: "continent", title: "Continent"} ], canReorderFields: true, showFilterEditor: true, filterOnKeypress: true })
Also, if you try to select the empty option, no filtering happens.
This was working with 10.1, for example try this same test case with:
SmartClient Version: v10.1p_2016-04-30/Enterprise Development Only (built 2016-04-30)
Comment