Announcement

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

    fixedRecordHeights doesn't work correctly in Firefox?

    Hello, we are seeing an issue with fixedRecordHeights not working correctly in Firefox but it works fine in IE with 6.5.1

    Use this example:
    http://www.smartclient.com/docs/6.5.1/a/system/reference/SmartClient_Explorer.html#autofitValues

    Use this code on the JS tab:
    Code:
    isc.ListGrid.create({
        ID: "countryList",
        width:"100%", height:"100%", alternateRecordStyles:true, showAllRecords:true,
        data: countryData,
        fields:[
            {name:"countryName", title:"Country", width:120},
            {name:"background", title:"Background"},
            {name:"countryCode", title:"Flag", align:"center", width:50, type:"image", imageSize:24, imageURLPrefix:"flags/24/", imageURLSuffix:".png"}
        ],
        wrapCells: false,
        fixedRecordHeights: true
    })
    On the countryData tab, use this for the first record to insert some breaks:
    Code:
    {
        continent:"North America",
        countryName:"United States",
        countryCode:"US",
        area:9631420,
        population:298444215,
        gdp:12360000,
        independence:new Date(1776,6,4),
        government:"federal republic",
        government_desc:2,
        capital:"Washington, DC",
        member_g8:true,
        article:"http://en.wikipedia.org/wiki/United_states",
        background:"Britain's <br><br><br>American colonies broke with the mother country in 1776 and were recognized as the new nation of the United States of America following the Treaty of Paris in 1783. During the 19th and 20th centuries, 37 new states were added to the original 13 as the nation expanded across the North American continent and acquired a number of overseas possessions. The two most traumatic experiences in the nation's history were the Civil War (1861-65) and the Great Depression of the 1930s. Buoyed by victories in World Wars I and II and the end of the Cold War in 1991, the US remains the world's most powerful nation state. The economy is marked by steady growth, low unemployment and inflation, and rapid advances in technology."
    },
    In IE, the records display with a fixed height as desired. But, with FF, the row is adjusting for this row with the <br> elements. I think this issue may have been discussed before? I may have even brought it up myself? But, I can find no mention of it searching the forums. Anyway, is there a workaround to fix this issue in Firefox? I think this post is referring to the same issue also but no response there yet? http://forums.smartclient.com/showthread.php?t=3933&highlight=fixedRecordHeights . We are seeing the problem in 6.5.1 so it is not just a problem with 7.0 beta.

    #2
    Hi, any feedback on this issue? Is it something you are still investigating perhaps? Or, sitting in a queue waiting it's turn?

    Comment

    Working...
    X