SmartClient Version: v9.0p_2013-12-14/PowerEdition Development Only (built 2013-12-14)
please try this code in the showcase
countryCode and countryName values will not show. Is it related to the fact that are marked as required in the dataSource?
please try this code in the showcase
Code:
isc.ValuesManager.create({ ID:"vm", dataSource: countryDS }) isc.DynamicForm.create({ ID: "countryList", valuesManager:vm, width:550, height:224, // 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:"text", readOnlyDisplay:"static"}, {name:"countryName", readOnlyDisplay:"static"}, {name:"continent", readOnlyDisplay:"static"}, {name:"member_g8", readOnlyDisplay:"static"}, {name:"population", formatCellValue:"isc.NumberUtil.toUSString(value);"}, {name:"independence"} ], canEdit: false }) vm.fetchData({countryCode:"US"})
Comment