Announcement

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

    ListGrid Column Misalignment Issue

    Hi,

    We observe an misalignment between the ListGrid headers and list grid records in IE 9 with the html5 doctype declaration "<!DOCTYPE html>".

    We are using SmartClient_v83p_2014-01-24_PowerEdition and IE9.

    We can reproduce the issue by replacing the "Portal Animation" or "Animation Programing" Example with the following code. We also notice if records are not grouped, this issue won't happen. Thanks!

    Code:
    <!DOCTYPE HTML>
    <HTML><HEAD><TITLE>
        SmartClient animation programming
    </TITLE>
        <SCRIPT>var isomorphicDir = "../../isomorphic/"</SCRIPT>
        <SCRIPT SRC=../../isomorphic/system/modules/ISC_Core.js></SCRIPT>
        <SCRIPT SRC=../../isomorphic/system/modules/ISC_Foundation.js></SCRIPT>
        <SCRIPT SRC=../../isomorphic/system/modules/ISC_Containers.js></SCRIPT>
        <SCRIPT SRC=../../isomorphic/system/modules/ISC_Grids.js></SCRIPT>
        <SCRIPT SRC=../../isomorphic/system/modules/ISC_Forms.js></SCRIPT>
        <SCRIPT SRC=../../isomorphic/system/modules/ISC_DataBinding.js></SCRIPT>
    	<SCRIPT SRC=../../isomorphic/skins/Enterprise/load_skin.js></SCRIPT>
    </HEAD><BODY><SCRIPT>
    isc.screenReader = true;
    
    var testData2=[
    {pk:0, orderID:8620, itemDescription:"18 inch flat panel monitor",
        category:"Hardware", shipDate:new Date(2009,11,11), quantity:2 , unitPrice:"375" },
    {pk:1, orderID:629, itemDescription:"Office 'Productivity' & Suite", 
        category:"Hardware", shipDate:new Date(2009,12,10), quantity:15 , unitPrice:"64.99" }];
    
    isc.DataSource.create({
        ID:"orderItemLocal2",
        clientOnly:true,
        testData:testData2,
        fields:[
            {name:"pk", type:"text", primaryKey:"true", hidden:"true"},
            {name:"orderID", type:"text", canEdit:false, title:"Order ID", pluralTitle:"Orders"},
            {name:"itemDescription", type:"text", title:"Description"},
            {name:"category", type:"text", title:"Category"},
            {name:"shipDate", type:"date", title:"Ship Date"},
            {name:"quantity", type:"integer", title:"Quantity"},
            {name:"unitPrice", type:"text", title:"Price"}
        ]
    });
    		
    isc.ListGrid.create({
        ID: "companyList",
        width:600, height: 400,
        autoFetchData:true,
        dataSource:orderItemLocal2,
    	showFilterEditor: true,
    	groupByField: "category",
        fields:[
            {name:"orderID"},
            {name:"itemDescription"},
            {name:"category"},
            {name:"shipDate"},       
            {name:"quantity"},
            {name:"unitPrice"}
        ]
    });
    </SCRIPT></BODY></HTML>

    #2
    We're not reproducing this issue against the latest 8.3 codebase.

    Are there any steps to get into the broken state, or is it visible simply from loading the page? If there are steps - what are they.
    Can you share a screenshot of the misalignment so we can be sure we're looking for the same thing?

    Also - just in case this does prove to be difficult to resolve in the 8.3 branch - is upgrading an option for you? We have released a couple of versions since 8.3 (we're currently up to 9.1), so if you're doing new development it would certainly be worth you upgrading to the latest branch if that is an option for you.

    Thanks
    Isomorphic Software

    Comment


      #3
      Thank you very much for the information. We have some workaround at our ends to solve this issue.

      Comment


        #4
        Hi,

        We are able to reproduce this issue in IE9 compatibility view. This issue is reported from our customer and we cannot control the customer behaviors for not using the compatibility view. This is the issue preventing us from introducing the HTML5 doctype flag to IE9 in our product.

        Could you please take a look at it?

        Thanks!

        Comment


          #5
          No, sorry, again see the FAQ - it is not possible to support IE9 in any mode other than HTML5 DOCTYPE (and with no meta flags overriding this).

          Microsoft simply completely broke quirks mode / compatibility mode in IE9, with no workarounds possible. If this is disappointing, the complaints are best directed to Microsoft.

          Comment

          Working...
          X