Announcement

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

    Frozen, tall image column results in row height mismatch

    In this example:
    https://www.smartclient.com/smartcli...izeIncrease=10

    if I try this code:
    Code:
    isc.ListGrid.create({
        ID: "countryList",
        width:200, height:224, alternateRecordStyles:true, 
        data: countryData,
        fields:[
            {name:"countryCode", title:"Flag", width:50,
                type: "image",frozen:true,imageSize:50,
                imageURLPrefix: "flags/16/",
                imageURLSuffix: ".png"
            },
            {name:"countryName", title:"Country"}
        ]
    })
    then I end up with mismatched row heights for the image column relative to the other column(s):

    Click image for larger version

Name:	Oct-27-2017 16-01-28.gif
Views:	72
Size:	283.2 KB
ID:	250025

    #2
    Frozen fields with varying height rows are not supported together (see docs), though they will be in the next release.

    In this case, since the records don't vary in height, you could solve this by just setting cellHeight large enough to fit the content.

    Comment


      #3
      I am having a similar problem with TAHOE.
      Whenever users freeze a column, there is a pixel gap between the frozen column (just moved to the right).
      I cannot provide any code, it's just a standard grid using defaults settings.
      As soon as you unfreeze column, the alignment becomes OK.
      Result shown on attachmend.


      Comment


        #4
        See previous post, then see FAQ for how to report bugs.

        Comment

        Working...
        X