Hi,
We got an error while creating the customized DynamicForm. The issue happens on SmartClient_v91p_2014-09-16_PowerEdition. On SmartClient_v91p_2014-04-08_PowerEdition it works fine. We notice the issue happens while evaluating "if(_1[i].hasAdvancedCriteria())" in function "isc_DynamicForm_removeItems(_1)"
Please try the following standalone. Thanks!
	
							
						
					We got an error while creating the customized DynamicForm. The issue happens on SmartClient_v91p_2014-09-16_PowerEdition. On SmartClient_v91p_2014-04-08_PowerEdition it works fine. We notice the issue happens while evaluating "if(_1[i].hasAdvancedCriteria())" in function "isc_DynamicForm_removeItems(_1)"
Please try the following standalone. Thanks!
Code:
	
	isc.ClassFactory.defineClass("CwDynamicFormExtend", "DynamicForm");
isc.CwDynamicFormExtend.addProperties({
	setItems: function(itemList){
		if(this.$cwCellBorderStyle!=null){
			var i = 0;
			var length = itemList.length;			
			for(i=0;i<length;i++){
				var currentField =  itemList.get(i);
				var currentCellStyle = currentField.cellStyle;
				if(currentCellStyle=="formCell" || currentCellStyle == null){
					currentField.cellStyle =  this.$cwCellBorderStyle;
				}
			}
		}
		this.Super("setItems", [itemList]);
	},
});
isc.CwDynamicFormExtend.create({width:240,ID:"LoginGrid",name:"LoginGrid",showErrorStyle:false,showErrorIcons:true,numCols:2,colWidths:["90","150"],titleOrientation:"left",margin:0,fields:[{title:"TF",type:"text"}]})

Comment