I have a ListGrid; with an ImageFile ListGridField; for which I am trying to implement a Filter row.
Here's what I'm seeing: By default, the ImageFile column follows the ListGrid Filter row setup, and shows a column header filter editor. With this setup, everything works as expected.
But having a Filter Editor for a ListGridField of type ImageFile is pointless (it doesn't accept keyboard input, and if it did, the column is displaying images, so what would a user type anyway?). So I disable the Filter Editor by means of ListGridField.setCanFilter(false).
The issue then is that when I execute a search by Filter icon, it halts with a browser error:
Please advise, thanks.
SmartClient Version: v9.0p_2013-11-26/PowerEdition Deployment (built 2013-11-26)
IE 8
Here's what I'm seeing: By default, the ImageFile column follows the ListGrid Filter row setup, and shows a column header filter editor. With this setup, everything works as expected.
But having a Filter Editor for a ListGridField of type ImageFile is pointless (it doesn't accept keyboard input, and if it did, the column is displaying images, so what would a user type anyway?). So I disable the Filter Editor by means of ListGridField.setCanFilter(false).
The issue then is that when I execute a search by Filter icon, it halts with a browser error:
Code:
[ERROR] [MyApp] - 15:17:58.954:TMR7:WARN:Log:Error:
''this.getFormDataSource()' is null or not an object'
in http://localhost:8888/MyApp/sc/modules/ISC_Forms.js
at line 2219
ViewFileItem.getImageHTML()
ViewFileItem.setCanvasContent(_1=>null)
ViewFileItem.setValue(_1=>null, undef)
DynamicForm.setItemValues(_1=>undef, _2=>undef, _3=>undef, _4=>undef)
ListGrid.updateEditRow(_1=>0)
GridBody.redraw(_1=>"refresh cell", _2=>undef, _3=>undef, _4=>undef)
ListGrid.refreshCell(_1=>0, _2=>2, _3=>false, _4=>true)
GridBody.redrawFormItem(_1=>[SelectItem ID:isc_SelectItem_4 name:LEAVETYPE], _2=>undef)
FormItem.redraw(_1=>undef)
FormItem.setWidth(_1=>70)
ListGrid.setBodyFieldWidths(_1=>Array[9])
ListGrid.$45m(_1=>"body redrawing with changed vertical scr..."[49], _2=>undef, _3=>undef)
** recursed on GridBody.redrawSmartClient Version: v9.0p_2013-11-26/PowerEdition Deployment (built 2013-11-26)
IE 8