I keep getting errors for the canvases below and cannot figure out what it is I'm doing wrong.
The error is:
11:26:59.177:MUP8:WARN:Log:TypeError: _9.indexOf is not a function
[c]Canvas.applyStretchResizePolicy(_1=>[object Array], _2=>541, _3=>1, _4=>true, _5=>{Obj})
Layout._getMemberSizes(541, true, [object Array], [object Array])
The error is:
11:26:59.177:MUP8:WARN:Log:TypeError: _9.indexOf is not a function
[c]Canvas.applyStretchResizePolicy(_1=>[object Array], _2=>541, _3=>1, _4=>true, _5=>{Obj})
Layout._getMemberSizes(541, true, [object Array], [object Array])
Code:
isc.VLayout.create({ID:"tableTest",name:"table",title:" ",showResizeBar:false,height:"100%",width:"100%", members: [isc.DataSource.create( {ID:"CellHeightResultTable$ds", fields:[ {name:"String_1"}, {name:"Int_1"}, {name:"cwDocId"}, {name:"Boolean_1"}, {name:"cwPK__",primaryKey:true} ], showPrompt:false} ), isc.ListGrid.create({ dataSource:"CellHeightResultTable$ds", fastCellUpdates:false, groupStartOpen:"all", ID:"CellHeightResultTable", modalEditing:true, recordBaseStyleProperty:"velocityRowStyle", canSelectText:true, selectOnEdit:true, autoFetchData:false, canSort:true, headerButtonProperties:{wrap:true}, width:"100%", height:"100%", cellHeight:50, fields:[ {title:"<nobr>String <\/nobr>"}, {title:"<nobr>Int <\/nobr>",type:"decimal",name:"Int_1",align:"left",validateOnChange:true,width:100}, {title:"<nobr>System document ID <\/nobr>",name:"cwDocId",align:"left",canEdit: false,validateOnChange: true, width:100}, {title:"<nobr>Boolean <\/nobr>",type:"boolean",canToggle:false,name:"Boolean_1",align:"left",validateOnChange: true,width:100}, {type:"image",title:"<nobr> <\/nobr>",width:15,imageWidth:10,imageHeight:10,name:"_cwShowDetailColumn",align:"left",canEdit:false,validateOnChange:true} ] }) ] });
Comment