Hello,
I'm using latest SmartGWT night build from 13. Jun. When I use following code for ListGrid definition:
and type some value in filter row in Name column and press Enter, value is copied also to second column. I guess it's because of 'name' in definition of filterEditorProperties. However here I mean 'name' field of 'typIdentification' DS not 'name' field of countryList DS. I was following recommendations in "ListGridField.optionDataSource" help page for big ValueMaps. Is it bug? How can I define it right way?
TNX
I'm using latest SmartGWT night build from 13. Jun. When I use following code for ListGrid definition:
Code:
isc.ListGrid.create({
ID: "countryList",
autoFetchData: true,
showFilterEditor: true,
width:500, height:224, alternateRecordStyles:true,
data: countryData,
fields:[
{
name : "name",
title : "Name",
required : true,
length : 10,
width : "100",
type : "text"
}, {
name : "typIdent1",
title : "Typ Ident",
required : true,
filterEditorProperties : {
optionDataSource : 'typIdentification',
displayField : 'name'
},
width : "250",
pickListWidth : 550,
valueField : "id",
displayField : "typIdent1VAL",
editorType : "ComboBoxItem",
colSpan : 4,
align : "left",
type : "integer",
pickListWidth : 700,
colSpan : null
}
],
})
TNX
Comment