SmartClient Version: v11.0p_2016-07-23/Enterprise Development Only (built 2016-07-23)
Chrome on OSX
Hello, please modify the #editByRow sample like this:
then edit the continent field, typing a non existent value: it will be retained and saved, even if addUnknownValues is set to false.
Chrome on OSX
Hello, please modify the #editByRow sample like this:
Code:
isc.ListGrid.create({ ID: "countryList", width:550, height:224, alternateRecordStyles:true, // use server-side dataSource so edits are retained across page transitions dataSource: countryDS, // display a subset of fields from the datasource fields:[ {name:"countryCode", title:"Flag", width:40, type:"image", imageURLPrefix:"flags/16/", imageURLSuffix:".png", canEdit:false}, {name:"countryName"}, {name:"continent", addUnknownValues:false, editorType:"ComboBoxItem"}, {name:"member_g8"}, {name:"population"}, {name:"independence"} ], autoFetchData: true, canEdit: true, editEvent: "click" })
Comment