Announcement

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

    12.0p filterRow filter field width issue after field reorder (and for me also field resize)

    Hi Isomorphic,

    please see this filter editor field width issue (v12.0p_2019-06-12, online sample):
    Code:
    isc.ListGrid.create({
        ID: "countryList",
        width:750, height:224, alternateRecordStyles:true,
        headerHeight: 65,
        dataSource: countryDS,
        autoFetchData: true, canRemoveRecords:true, showFilterEditor:true, leaveScrollbarGap: false,
        fields:[
            {name:"countryCode", title:"Flag", width:50, type:"image", imageURLPrefix:"flags/16/", imageURLSuffix:".png"},
            {name:"countryName", title:"Country"},
            {name:"capital"},
            {name:"government"},
            {name:"independence", title:"Nationhood", width:100},
            {name:"population", title:"Population"},
            {name:"area", title:"Area (km²)"},
            {name:"gdp"}
        ],
        initialCriteria: { _constructor: "AdvancedCriteria", operator: "and",
            criteria: [
                { fieldName: "countryName", operator: "iContains", value: "United" },
            ]
        },
        headerSpans: [
            {
                fields: ["countryCode", "countryName"],
                title: "Identification"
            },
            {
                fields: ["capital", "government", "independence"],
                title: "Government & Politics"
            },
            {
                fields: ["population", "area", "gdp"],
                title: "Demographics"
            }
        ]
    
    })
    If you reorder the remove field, width of fields and filter-fields no longer match.
    It does not happen without leaveScrollbarGap: false.

    In my application (12.0p, late March 2019) I do have this error as well, but way more often, even for some simple field-resize.

    Click image for larger version  Name:	Filter_editor_size.png Views:	1 Size:	30.9 KB ID:	258152

    Best regards
    Blama
    Last edited by Blama; 12 Jun 2019, 08:52.

    #2
    We've applied a fix for this back to SC 11.1p, effective the nightly builds dated 2019-06-14 and beyond.

    Comment


      #3
      Hi Isomorphic,

      as FYI, there is no new build 12.0p since 2019-06-13. This is not urgent for me.

      Best regards
      Blama

      Comment


        #4
        Hi Isomorphic,

        this is fixed for me using v12.0p_2019-06-25 / SNAPSHOT_v12.1d_2019-06-24.

        Best regards
        Blama

        Comment

        Working...
        X