Hi,
in an editable list grid field of the type ComboBoxItem with a datasource is the selected object in a custom changed function always undefined.
This has worked with SC 8, and does also not work with the last nightly build from 16th December.
Interestingly, in an editable list grid field of the type ComboBoxItem with a local value map the selected object is shown as expected:
The same code above with a data source for continents always shows an undefined object when selecting the continent.
Regards Thomas
in an editable list grid field of the type ComboBoxItem with a datasource is the selected object in a custom changed function always undefined.
This has worked with SC 8, and does also not work with the last nightly build from 16th December.
Interestingly, in an editable list grid field of the type ComboBoxItem with a local value map the selected object is shown as expected:
Code:
isc.ListGrid.create({ ID: "countryList", width:500, height:224, alternateRecordStyles:true, canEdit:true, editEvent:"click", modalEditing:true, data: countryData, fields:[ {name:"countryCode", title:"Flag", width:50, type:"image", imageURLPrefix:"flags/16/", imageURLSuffix:".png", canEdit:false}, {name:"countryName", title:"Country"}, {name:"continent", title:"Continent", valueMap:["Europe", "Asia", "North America", "Australia/Oceania", "South America", "Africa"], changed: function (form,item,value) {alert (value)} } ] })
Regards Thomas
Comment