Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Mis-alignment and cannot open dialogs after removing formula column

    SmartClient_SNAPSHOT_v90d_2013-05-20

    IE and FF

    The grid headers are misaligned and cannot open context menu tools after removing formula column.

    Repro steps:
    1. Load test case below
    2. Create formula column, title="New Field 1", formula=Inspector ID
    3. Create another formula column, title="New Field 2", formula=New Field 1
    4. Note grid headers are aligned correctly and I can optn Columns dialog
    5. Remove formula column "New Field 1"
    6. Note:
    - grid field headers are misaligned
    - cannot open advanced field picker dialog
    - javascript error: "TypeError: _1 is null" on ISC_Core.js (line 2633)

    Code:
    <html>
    
    
    <head>
        <title >SNTQ-1797</title>
    	
       	<script type="text/javascript" >
    		var isomorphicDir="http://localhost:8080/isomorphic/";
    		
    		var data = [
    			{inspectorID:12345, inspections:206,observations:913,lastInspectionDate:"2012-08-31",index:52.6, inspectionType: {id:123, name:"type1"}},
    			{inspectorID:67890, inspections:66,observations:0,lastInspectionDate:"2013-02-02",index:75.3, inspectionType: {id:123, name:"type1"}},
    			{inspectorID:88776, inspections:66,observations:67,lastInspectionDate:"2013-02-02",index:75.3, inspectionType: {id:123, name:"type1"}},
    			{inspectorID:44556, inspections:206,observations:0,lastInspectionDate:"2012-08-31",index:52.6, inspectionType: {id:123, name:"type1"}}
    		];
    </script>
    	
     <script type="text/javascript" SRC="http://localhost:8080/isomorphic/system/development/ISC_Core.js"></script>
     <script type="text/javascript" SRC="http://localhost:8080/isomorphic/system/development/ISC_Foundation.js"></script>
     <script type="text/javascript" SRC="http://localhost:8080/isomorphic/system/development/ISC_Containers.js"></script>
     <script type="text/javascript" SRC="http://localhost:8080/isomorphic/system/development/ISC_Grids.js"></script>
     <script type="text/javascript" SRC="http://localhost:8080/isomorphic/system/development/ISC_Forms.js"></script>
     <script type="text/javascript" SRC="http://localhost:8080/isomorphic/system/development/ISC_DataBinding.js"></script>
     <script type="text/javascript" SRC="http://localhost:8080/isomorphic/system/development/ISC_Drawing.js"></script>
     <script type="text/javascript" SRC="http://localhost:8080/isomorphic/system/development/ISC_PluginBridges.js"></script> 
     <script type="text/javascript" SRC="http://localhost:8080/isomorphic/system/development/ISC_Charts.js"></script>
     <script type="text/javascript" SRC="http://localhost:8080/isomorphic/system/development/ISC_Tools.js"></script>
     <script type="text/javascript" SRC="http://localhost:8080/isomorphic/skins/EnterpriseBlue/load_skin.js"></script>
    </head>
    <body>
    
     <script type="text/javascript">
    
    		var gridObject = isc.ListGrid.create({
    			fields:[
    				{name:"inspectorID", title:"Inspector ID", type:"integer" },
    				{name:"inspections", type:"integer", title:"# Inspections"},
    				{name:"observations", title:"# Observations"},
    				{name:"index", title:"Index"}
    			],
    				dataFetchMode : "local",
    				data: data,
    				width : "100%",
    				align : "center",
    				autoFitData : "vertical",
    				autoFitMaxHeight : 400,
    				alternateRecordStyles : true,
    				canAddFormulaFields : true,
    				canAddSummaryFields : true,
    				canGroupBy : true,
    				canReorderFields : true,
    				showGroupSummary : true,
    				groupByMaxRecords : 5,
    				useAdvancedFieldPicker : true,
    				advancedFieldPickerThreshold : 2
    			});
    			
    			
    </script>	
    
    </body>
    </html>

    #2
    We've made a change to address this issue. Please try the next nightly build dated May 23

    Regards
    Isomorphic Software

    Comment

    Working...
    X