Problem with ListGrid not sorting correctly on the Width column in the below
using the latest build of smartClient v12
using the latest build of smartClient v12
Code:
isc.SimpleType.create({ name: 'widthType', inheritsFrom: "float", normalDisplayFormatter: function (value) { // Display in Inces and Decimal Sixteenths value = value / 2.54e+7; var v = Math.floor(value) + Math.round((value - Math.floor(value))*16)/100.0; v = isc.NumberUtil.format(v,",0.00"); return v; }, shortDisplayFormatter: function (value) { return this.normalDisplayFormatter(value); }, getGroupTitle: function (value, record, field, fieldName, component){ return this.normalDisplayFormatter(value); } }); var testData = [ { standardRollWidthKey:"249", componentTypeKey:"1", width:"2.5273E9"}, { standardRollWidthKey:"52", componentTypeKey:"1", width:"2.4892E9"}, { standardRollWidthKey:"54", componentTypeKey:"1", width:"2.4384E9"}, { standardRollWidthKey:"279", componentTypeKey:"1", width:"2.413E9"}, { standardRollWidthKey:"338", componentTypeKey:"1", width:"2.413E9"}, { standardRollWidthKey:"335", componentTypeKey:"1", width:"2.3876E9"}, { standardRollWidthKey:"252", componentTypeKey:"1", width:"2.3876E9"}, { standardRollWidthKey:"246", componentTypeKey:"1", width:"2.3876E9"}, { standardRollWidthKey:"56", componentTypeKey:"1", width:"2.3622E9"}, { standardRollWidthKey:"158", componentTypeKey:"1", width:"2.3368E9"}, { standardRollWidthKey:"152", componentTypeKey:"1", width:"2.3241E9"}, { standardRollWidthKey:"59", componentTypeKey:"1", width:"2.3114E9"}, { standardRollWidthKey:"62", componentTypeKey:"1", width:"2.30505E9"}, { standardRollWidthKey:"63", componentTypeKey:"1", width:"2.286E9"}, { standardRollWidthKey:"250", componentTypeKey:"1", width:"2.2733E9"}, { standardRollWidthKey:"65", componentTypeKey:"1", width:"2.24155E9"}, { standardRollWidthKey:"198", componentTypeKey:"1", width:"2.2352E9"}, { standardRollWidthKey:"67", componentTypeKey:"1", width:"2.2098E9"}, { standardRollWidthKey:"69", componentTypeKey:"1", width:"2.1844E9"}, { standardRollWidthKey:"205", componentTypeKey:"1", width:"2.159E9"}, { standardRollWidthKey:"269", componentTypeKey:"1", width:"2.1463E9"}, { standardRollWidthKey:"71", componentTypeKey:"1", width:"2.1336E9"}, { standardRollWidthKey:"131", componentTypeKey:"1", width:"2.1082E9"}, { standardRollWidthKey:"138", componentTypeKey:"1", width:"2.1082E9"}, { standardRollWidthKey:"144", componentTypeKey:"1", width:"2.0955E9"}, { standardRollWidthKey:"73", componentTypeKey:"1", width:"2.0828E9"}, { standardRollWidthKey:"75", componentTypeKey:"1", width:"2.0574E9"}, { standardRollWidthKey:"77", componentTypeKey:"1", width:"2.032E9"}, { standardRollWidthKey:"242", componentTypeKey:"1", width:"2.0193E9"}, { standardRollWidthKey:"79", componentTypeKey:"1", width:"2.0066E9"}, { standardRollWidthKey:"81", componentTypeKey:"1", width:"1.9812E9"}, { standardRollWidthKey:"83", componentTypeKey:"1", width:"1.9558E9"}, { standardRollWidthKey:"147", componentTypeKey:"1", width:"1.9431E9"}, { standardRollWidthKey:"85", componentTypeKey:"1", width:"1.9304E9"}, { standardRollWidthKey:"148", componentTypeKey:"1", width:"1.905E9"}, { standardRollWidthKey:"290", componentTypeKey:"1", width:"1.905E9"}, { standardRollWidthKey:"203", componentTypeKey:"1", width:"1.8796E9"}, { standardRollWidthKey:"88", componentTypeKey:"1", width:"1.8542E9"}, { standardRollWidthKey:"90", componentTypeKey:"1", width:"1.8288E9"}, { standardRollWidthKey:"92", componentTypeKey:"1", width:"1.8034E9"}, { standardRollWidthKey:"150", componentTypeKey:"1", width:"1.7907E9"}, { standardRollWidthKey:"94", componentTypeKey:"1", width:"1.778E9"}, { standardRollWidthKey:"96", componentTypeKey:"1", width:"1.7526E9"}, { standardRollWidthKey:"98", componentTypeKey:"1", width:"1.7272E9"}, { standardRollWidthKey:"163", componentTypeKey:"1", width:"1.7145E9"}, { standardRollWidthKey:"100", componentTypeKey:"1", width:"1.7018E9"}, { standardRollWidthKey:"102", componentTypeKey:"1", width:"1.6764E9"}, { standardRollWidthKey:"104", componentTypeKey:"1", width:"1.651E9"}, { standardRollWidthKey:"106", componentTypeKey:"1", width:"1.641475E9"}, { standardRollWidthKey:"107", componentTypeKey:"1", width:"1.6256E9"}, { standardRollWidthKey:"197", componentTypeKey:"1", width:"1.6002E9"}, { standardRollWidthKey:"287", componentTypeKey:"1", width:"1.597025E9"}, { standardRollWidthKey:"258", componentTypeKey:"1", width:"1.5875E9"}, { standardRollWidthKey:"110", componentTypeKey:"1", width:"1.5748E9"}, { standardRollWidthKey:"229", componentTypeKey:"1", width:"1.571625E9"}, { standardRollWidthKey:"327", componentTypeKey:"1", width:"1.5621E9"}, { standardRollWidthKey:"112", componentTypeKey:"1", width:"1.5494E9"}, { standardRollWidthKey:"114", componentTypeKey:"1", width:"1.524E9"}, { standardRollWidthKey:"155", componentTypeKey:"1", width:"1.524E9"}, { standardRollWidthKey:"272", componentTypeKey:"1", width:"1.51765E9"}, { standardRollWidthKey:"116", componentTypeKey:"1", width:"1.4986E9"}, { standardRollWidthKey:"342", componentTypeKey:"1", width:"1.49225E9"}, { standardRollWidthKey:"118", componentTypeKey:"1", width:"1.4732E9"}, { standardRollWidthKey:"120", componentTypeKey:"1", width:"1.4478E9"}, { standardRollWidthKey:"261", componentTypeKey:"1", width:"1.44145E9"}, { standardRollWidthKey:"268", componentTypeKey:"1", width:"1.4351E9"}, { standardRollWidthKey:"214", componentTypeKey:"1", width:"1.4224E9"}, { standardRollWidthKey:"282", componentTypeKey:"1", width:"1.419225E9"}, { standardRollWidthKey:"122", componentTypeKey:"1", width:"1.397E9"}, { standardRollWidthKey:"348", componentTypeKey:"1", width:"1.393825E9"}, { standardRollWidthKey:"215", componentTypeKey:"1", width:"1.3843E9"}, { standardRollWidthKey:"206", componentTypeKey:"1", width:"1.3716E9"}, { standardRollWidthKey:"126", componentTypeKey:"1", width:"1.3462E9"}, { standardRollWidthKey:"346", componentTypeKey:"1", width:"1.3335E9"}, { standardRollWidthKey:"343", componentTypeKey:"1", width:"1.32715E9"}, { standardRollWidthKey:"265", componentTypeKey:"1", width:"1.3208E9"}, { standardRollWidthKey:"201", componentTypeKey:"1", width:"1.3208E9"}, { standardRollWidthKey:"266", componentTypeKey:"1", width:"1.31445E9"}, { standardRollWidthKey:"231", componentTypeKey:"1", width:"1.30175E9"}, { standardRollWidthKey:"128", componentTypeKey:"1", width:"1.2954E9"}, { standardRollWidthKey:"228", componentTypeKey:"1", width:"1.292225E9"}, { standardRollWidthKey:"251", componentTypeKey:"1", width:"1.2827E9"}, { standardRollWidthKey:"130", componentTypeKey:"1", width:"1.27E9"}, { standardRollWidthKey:"267", componentTypeKey:"1", width:"1.2573E9"}, { standardRollWidthKey:"257", componentTypeKey:"1", width:"1.25095E9"}, { standardRollWidthKey:"230", componentTypeKey:"1", width:"1.2446E9"}, { standardRollWidthKey:"233", componentTypeKey:"1", width:"1.2319E9"}, { standardRollWidthKey:"196", componentTypeKey:"1", width:"1.2192E9"}, { standardRollWidthKey:"292", componentTypeKey:"1", width:"1.216025E9"}, { standardRollWidthKey:"293", componentTypeKey:"1", width:"1.21285E9"}, { standardRollWidthKey:"355", componentTypeKey:"1", width:"1.209675E9"}, { standardRollWidthKey:"341", componentTypeKey:"1", width:"1.2065E9"}, { standardRollWidthKey:"255", componentTypeKey:"1", width:"1.1938E9"}, { standardRollWidthKey:"217", componentTypeKey:"1", width:"1.1811E9"}, { standardRollWidthKey:"195", componentTypeKey:"1", width:"1.1684E9"}, { standardRollWidthKey:"227", componentTypeKey:"1", width:"1.165225E9"}, { standardRollWidthKey:"307", componentTypeKey:"1", width:"1.1557E9"}, { standardRollWidthKey:"349", componentTypeKey:"1", width:"1.152525E9"}, { standardRollWidthKey:"248", componentTypeKey:"1", width:"1.143E9"}, { standardRollWidthKey:"271", componentTypeKey:"1", width:"1.133475E9"}, { standardRollWidthKey:"316", componentTypeKey:"1", width:"1.1303E9"}, { standardRollWidthKey:"213", componentTypeKey:"1", width:"1.1176E9"}, { standardRollWidthKey:"336", componentTypeKey:"1", width:"1.1049E9"}, { standardRollWidthKey:"194", componentTypeKey:"1", width:"1.0922E9"}, { standardRollWidthKey:"226", componentTypeKey:"1", width:"1.089025E9"}, { standardRollWidthKey:"344", componentTypeKey:"1", width:"1.0795E9"}, { standardRollWidthKey:"263", componentTypeKey:"1", width:"1.07315E9"}, { standardRollWidthKey:"212", componentTypeKey:"1", width:"1.0668E9"}, { standardRollWidthKey:"310", componentTypeKey:"1", width:"1.0541E9"}, { standardRollWidthKey:"193", componentTypeKey:"1", width:"1.0414E9"}, { standardRollWidthKey:"225", componentTypeKey:"1", width:"1.038225E9"}, { standardRollWidthKey:"330", componentTypeKey:"1", width:"1.031875E9"}, { standardRollWidthKey:"295", componentTypeKey:"1", width:"1.0287E9"}, { standardRollWidthKey:"200", componentTypeKey:"1", width:"1.016E9"}, { standardRollWidthKey:"253", componentTypeKey:"1", width:"1.012825E9"}, { standardRollWidthKey:"216", componentTypeKey:"1", width:"9.906E8"}, { standardRollWidthKey:"245", componentTypeKey:"1", width:"9.779E8"}, { standardRollWidthKey:"297", componentTypeKey:"1", width:"9.74725E8"}, { standardRollWidthKey:"276", componentTypeKey:"1", width:"9.68375E8"}, { standardRollWidthKey:"192", componentTypeKey:"1", width:"9.652E8"}, { standardRollWidthKey:"224", componentTypeKey:"1", width:"9.62025E8"}, { standardRollWidthKey:"326", componentTypeKey:"1", width:"9.525E8"}, { standardRollWidthKey:"305", componentTypeKey:"1", width:"9.49325E8"}, { standardRollWidthKey:"207", componentTypeKey:"1", width:"9.398E8"}, { standardRollWidthKey:"286", componentTypeKey:"1", width:"9.3345E8"}, { standardRollWidthKey:"320", componentTypeKey:"1", width:"9.271E8"}, { standardRollWidthKey:"284", componentTypeKey:"1", width:"9.2075E8"}, { standardRollWidthKey:"243", componentTypeKey:"1", width:"9.144E8"}, { standardRollWidthKey:"211", componentTypeKey:"1", width:"9.144E8"}, { standardRollWidthKey:"239", componentTypeKey:"1", width:"9.0805E8"}, { standardRollWidthKey:"291", componentTypeKey:"1", width:"9.017E8"}, { standardRollWidthKey:"191", componentTypeKey:"1", width:"8.89E8"}, { standardRollWidthKey:"223", componentTypeKey:"1", width:"8.85825E8"}, { standardRollWidthKey:"237", componentTypeKey:"1", width:"8.8265E8"}, { standardRollWidthKey:"329", componentTypeKey:"1", width:"8.763E8"}, { standardRollWidthKey:"210", componentTypeKey:"1", width:"8.636E8"}, { standardRollWidthKey:"280", componentTypeKey:"1", width:"8.60425E8"}, { standardRollWidthKey:"190", componentTypeKey:"1", width:"8.382E8"}, { standardRollWidthKey:"222", componentTypeKey:"1", width:"8.35025E8"}, { standardRollWidthKey:"334", componentTypeKey:"1", width:"8.255E8"}, { standardRollWidthKey:"204", componentTypeKey:"1", width:"8.128E8"}, { standardRollWidthKey:"332", componentTypeKey:"1", width:"8.001E8"}, { standardRollWidthKey:"189", componentTypeKey:"1", width:"7.874E8"}, { standardRollWidthKey:"221", componentTypeKey:"1", width:"7.84225E8"}, { standardRollWidthKey:"277", componentTypeKey:"1", width:"7.8105E8"}, { standardRollWidthKey:"340", componentTypeKey:"1", width:"7.747E8"}, { standardRollWidthKey:"209", componentTypeKey:"1", width:"7.62E8"}, { standardRollWidthKey:"319", componentTypeKey:"1", width:"7.540625E8"}, { standardRollWidthKey:"188", componentTypeKey:"1", width:"7.366E8"}, { standardRollWidthKey:"220", componentTypeKey:"1", width:"7.33425E8"}, { standardRollWidthKey:"199", componentTypeKey:"1", width:"7.112E8"}, { standardRollWidthKey:"234", componentTypeKey:"1", width:"6.858E8"}, { standardRollWidthKey:"323", componentTypeKey:"1", width:"6.82625E8"}, { standardRollWidthKey:"353", componentTypeKey:"1", width:"6.6675E8"}, { standardRollWidthKey:"173", componentTypeKey:"1", width:"6.604E8"}, { standardRollWidthKey:"352", componentTypeKey:"1", width:"6.57225E8"}, { standardRollWidthKey:"53", componentTypeKey:"2", width:"2.486025E9"}, { standardRollWidthKey:"55", componentTypeKey:"2", width:"2.435225E9"}, { standardRollWidthKey:"57", componentTypeKey:"2", width:"2.359025E9"}, { standardRollWidthKey:"58", componentTypeKey:"2", width:"2.333625E9"}, { standardRollWidthKey:"142", componentTypeKey:"2", width:"2.308225E9"}, { standardRollWidthKey:"61", componentTypeKey:"2", width:"2.30505E9"}, { standardRollWidthKey:"64", componentTypeKey:"2", width:"2.282825E9"}, { standardRollWidthKey:"66", componentTypeKey:"2", width:"2.238375E9"}, { standardRollWidthKey:"185", componentTypeKey:"2", width:"2.232025E9"}, { standardRollWidthKey:"339", componentTypeKey:"2", width:"2.2225E9"}, { standardRollWidthKey:"68", componentTypeKey:"2", width:"2.206625E9"}, { standardRollWidthKey:"70", componentTypeKey:"2", width:"2.181225E9"}, { standardRollWidthKey:"289", componentTypeKey:"2", width:"2.155825E9"}, { standardRollWidthKey:"161", componentTypeKey:"2", width:"2.1336E9"}, { standardRollWidthKey:"72", componentTypeKey:"2", width:"2.130425E9"}, { standardRollWidthKey:"143", componentTypeKey:"2", width:"2.105025E9"}, { standardRollWidthKey:"132", componentTypeKey:"2", width:"2.105025E9"}, { standardRollWidthKey:"154", componentTypeKey:"2", width:"2.092325E9"}, { standardRollWidthKey:"74", componentTypeKey:"2", width:"2.079625E9"}, { standardRollWidthKey:"76", componentTypeKey:"2", width:"2.054225E9"}, { standardRollWidthKey:"247", componentTypeKey:"2", width:"2.0193E9"}, { standardRollWidthKey:"153", componentTypeKey:"2", width:"1.9812E9"}, { standardRollWidthKey:"82", componentTypeKey:"2", width:"1.978025E9"}, { standardRollWidthKey:"84", componentTypeKey:"2", width:"1.952625E9"}, { standardRollWidthKey:"146", componentTypeKey:"2", width:"1.939925E9"}, { standardRollWidthKey:"86", componentTypeKey:"2", width:"1.927225E9"}, { standardRollWidthKey:"149", componentTypeKey:"2", width:"1.901825E9"}, { standardRollWidthKey:"87", componentTypeKey:"2", width:"1.8542E9"}, { standardRollWidthKey:"89", componentTypeKey:"2", width:"1.851025E9"}, { standardRollWidthKey:"91", componentTypeKey:"2", width:"1.825625E9"}, { standardRollWidthKey:"93", componentTypeKey:"2", width:"1.800225E9"}, { standardRollWidthKey:"151", componentTypeKey:"2", width:"1.787525E9"}, { standardRollWidthKey:"95", componentTypeKey:"2", width:"1.774825E9"}, { standardRollWidthKey:"97", componentTypeKey:"2", width:"1.749425E9"}, { standardRollWidthKey:"99", componentTypeKey:"2", width:"1.724025E9"}, { standardRollWidthKey:"162", componentTypeKey:"2", width:"1.7145E9"}, { standardRollWidthKey:"101", componentTypeKey:"2", width:"1.698625E9"}, { standardRollWidthKey:"103", componentTypeKey:"2", width:"1.673225E9"}, { standardRollWidthKey:"105", componentTypeKey:"2", width:"1.647825E9"}, { standardRollWidthKey:"108", componentTypeKey:"2", width:"1.622425E9"}, { standardRollWidthKey:"109", componentTypeKey:"2", width:"1.597025E9"}, { standardRollWidthKey:"312", componentTypeKey:"2", width:"1.5875E9"}, { standardRollWidthKey:"111", componentTypeKey:"2", width:"1.571625E9"}, { standardRollWidthKey:"328", componentTypeKey:"2", width:"1.5621E9"}, { standardRollWidthKey:"274", componentTypeKey:"2", width:"1.55575E9"}, { standardRollWidthKey:"306", componentTypeKey:"2", width:"1.5494E9"}, { standardRollWidthKey:"113", componentTypeKey:"2", width:"1.546225E9"}, { standardRollWidthKey:"157", componentTypeKey:"2", width:"1.524E9"}, { standardRollWidthKey:"156", componentTypeKey:"2", width:"1.520825E9"}, { standardRollWidthKey:"115", componentTypeKey:"2", width:"1.520825E9"}, { standardRollWidthKey:"273", componentTypeKey:"2", width:"1.51765E9"}, { standardRollWidthKey:"117", componentTypeKey:"2", width:"1.495425E9"}, { standardRollWidthKey:"119", componentTypeKey:"2", width:"1.470025E9"}, { standardRollWidthKey:"121", componentTypeKey:"2", width:"1.444625E9"}, { standardRollWidthKey:"262", componentTypeKey:"2", width:"1.44145E9"}, { standardRollWidthKey:"259", componentTypeKey:"2", width:"1.419225E9"}, { standardRollWidthKey:"123", componentTypeKey:"2", width:"1.393825E9"}, { standardRollWidthKey:"125", componentTypeKey:"2", width:"1.368425E9"}, { standardRollWidthKey:"127", componentTypeKey:"2", width:"1.343025E9"}, { standardRollWidthKey:"285", componentTypeKey:"2", width:"1.317625E9"}, { standardRollWidthKey:"241", componentTypeKey:"2", width:"1.292225E9"}, { standardRollWidthKey:"313", componentTypeKey:"2", width:"1.27E9"}, { standardRollWidthKey:"184", componentTypeKey:"2", width:"1.25095E9"}, { standardRollWidthKey:"294", componentTypeKey:"2", width:"1.241425E9"}, { standardRollWidthKey:"314", componentTypeKey:"2", width:"1.23825E9"}, { standardRollWidthKey:"288", componentTypeKey:"2", width:"1.2319E9"}, { standardRollWidthKey:"183", componentTypeKey:"2", width:"1.216025E9"}, { standardRollWidthKey:"254", componentTypeKey:"2", width:"1.190625E9"}, { standardRollWidthKey:"309", componentTypeKey:"2", width:"1.1811E9"}, { standardRollWidthKey:"270", componentTypeKey:"2", width:"1.1684E9"}, { standardRollWidthKey:"182", componentTypeKey:"2", width:"1.165225E9"}, { standardRollWidthKey:"308", componentTypeKey:"2", width:"1.1557E9"}, { standardRollWidthKey:"350", componentTypeKey:"2", width:"1.152525E9"}, { standardRollWidthKey:"317", componentTypeKey:"2", width:"1.1303E9"}, { standardRollWidthKey:"187", componentTypeKey:"2", width:"1.114425E9"}, { standardRollWidthKey:"324", componentTypeKey:"2", width:"1.1049E9"}, { standardRollWidthKey:"337", componentTypeKey:"2", width:"1.1049E9"}, { standardRollWidthKey:"296", componentTypeKey:"2", width:"1.0922E9"}, { standardRollWidthKey:"181", componentTypeKey:"2", width:"1.089025E9"}, { standardRollWidthKey:"345", componentTypeKey:"2", width:"1.0795E9"}, { standardRollWidthKey:"264", componentTypeKey:"2", width:"1.07315E9"}, { standardRollWidthKey:"260", componentTypeKey:"2", width:"1.0668E9"}, { standardRollWidthKey:"256", componentTypeKey:"2", width:"1.063625E9"}, { standardRollWidthKey:"311", componentTypeKey:"2", width:"1.0541E9"}, { standardRollWidthKey:"347", componentTypeKey:"2", width:"1.050925E9"}, { standardRollWidthKey:"180", componentTypeKey:"2", width:"1.038225E9"}, { standardRollWidthKey:"304", componentTypeKey:"2", width:"1.0287E9"}, { standardRollWidthKey:"303", componentTypeKey:"2", width:"1.0033E9"}, { standardRollWidthKey:"186", componentTypeKey:"2", width:"9.87425E8"}, { standardRollWidthKey:"302", componentTypeKey:"2", width:"9.779E8"}, { standardRollWidthKey:"321", componentTypeKey:"2", width:"9.74725E8"}, { standardRollWidthKey:"275", componentTypeKey:"2", width:"9.68375E8"}, { standardRollWidthKey:"331", componentTypeKey:"2", width:"9.652E8"}, { standardRollWidthKey:"179", componentTypeKey:"2", width:"9.62025E8"}, { standardRollWidthKey:"301", componentTypeKey:"2", width:"9.525E8"}, { standardRollWidthKey:"202", componentTypeKey:"2", width:"9.36625E8"}, { standardRollWidthKey:"244", componentTypeKey:"2", width:"9.11225E8"}, { standardRollWidthKey:"283", componentTypeKey:"2", width:"9.0805E8"}, { standardRollWidthKey:"178", componentTypeKey:"2", width:"8.85825E8"}, { standardRollWidthKey:"278", componentTypeKey:"2", width:"8.620125E8"}, { standardRollWidthKey:"281", componentTypeKey:"2", width:"8.60425E8"}, { standardRollWidthKey:"322", componentTypeKey:"2", width:"8.509E8"}, { standardRollWidthKey:"177", componentTypeKey:"2", width:"8.35025E8"}, { standardRollWidthKey:"333", componentTypeKey:"2", width:"8.255E8"}, { standardRollWidthKey:"299", componentTypeKey:"2", width:"8.128E8"}, { standardRollWidthKey:"315", componentTypeKey:"2", width:"8.001E8"}, { standardRollWidthKey:"300", componentTypeKey:"2", width:"7.874E8"}, { standardRollWidthKey:"176", componentTypeKey:"2", width:"7.84225E8"}, { standardRollWidthKey:"240", componentTypeKey:"2", width:"7.62E8"}, { standardRollWidthKey:"298", componentTypeKey:"2", width:"7.366E8"}, { standardRollWidthKey:"175", componentTypeKey:"2", width:"7.33425E8"}, { standardRollWidthKey:"354", componentTypeKey:"2", width:"6.604E8"}, { standardRollWidthKey:"351", componentTypeKey:"2", width:"6.57225E8"} ]; isc.RestDataSource.create({ ID: 'widthDS', testData:testData, clientOnly: true, fields:[ { name: "componentTypeKey",title: ('Type')}, { name: "width", title: ('width'), type: 'widthType', required: true, allowEmptyValue:false} ] }); function refreshTable(){ invTable.invalidateCache(); invTable.fetchData(); } isc.ListGrid.create({ ID: 'invTable', width: '100%', height: '100%', dataSource: 'widthDS', autoDraw:false }); isc.SectionStack.create({ ID: "sectionStack", visibilityMode: 'multiple', width: '100%', height: '100%', autoDraw:true, sections: [ { title: ('openOrders'),autoShow: true, canCollapse: false, items: [invTable ] } ] }) refreshTable();
Comment