Announcement

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

    11.1p ListGrid headerSpan and field reorder visual gitch

    Hi Isomorphic,

    please see this modified testcase (v11.1p_2018-12-03). As you can see, during field reorder before/after a headerSpan the headerSpan design is broken and then fixed again on mouse release.
    Code:
    isc.ListGrid.create({
        ID: "countryList",
        width:750, height:224, alternateRecordStyles:true,
        headerHeight: 65,
        dataSource: countryDS,
        autoFetchData: true,
        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"}
        ],
        headerSpans: [
            {
                fields: ["capital", "government", "independence"], 
                title: "Government & Politics"
            }
        ]
    })
    Click image for larger version

Name:	headerSpan and field reorder.gif
Views:	98
Size:	145.6 KB
ID:	256079

    Best regards
    Blama

    #2
    This should be fixed back to SGWT 5.1p/SC 10.1p effective of builds dated 2018-12-05.

    Comment


      #3
      Hi Isomorphic,

      this is fixed for me in v11.1p_2018-12-11 / v12.0p_2018-12-11.

      I found another minor issue in this area:
      • If you reorder fields (or start that way), that a span-group is the first fields in a ListGrid, it is not possible to move fields before it again.
      • If you reorder fields (or start that way), that a span-group is the last fields in a ListGrid, it is not possible to move fields after it again.
      In other cases it works as expected.

      Span at start:
      Code:
      isc.ListGrid.create({
          ID: "countryList",
          width:750, height:224, alternateRecordStyles:true,
          headerHeight: 65,
          dataSource: countryDS,
          autoFetchData: true,
          fields:[
              {name:"capital"},
              {name:"government"},
              {name:"independence", title:"Nationhood", width:100},
              {name:"countryCode", title:"Flag", width:50, type:"image", imageURLPrefix:"flags/16/", imageURLSuffix:".png"},
              {name:"countryName", title:"Country"},
              {name:"population", title:"Population"},
              {name:"area", title:"Area (km²)"},
              {name:"gdp"}
          ],
          headerSpans: [
              {
                  fields: ["capital", "government", "independence"], 
                  title: "Government & Politics"
              }
          ]
      })
      Span at end:
      Code:
      isc.ListGrid.create({
          ID: "countryList",
          width:750, height:224, alternateRecordStyles:true,
          headerHeight: 65,
          dataSource: countryDS,
          autoFetchData: true,
          fields:[
              {name:"countryCode", title:"Flag", width:50, type:"image", imageURLPrefix:"flags/16/", imageURLSuffix:".png"},
              {name:"countryName", title:"Country"},
              {name:"population", title:"Population"},
              {name:"area", title:"Area (km²)"},
              {name:"gdp"},
              {name:"capital"},
              {name:"government"},
              {name:"independence", title:"Nationhood", width:100}
          ],
          headerSpans: [
              {
                  fields: ["capital", "government", "independence"], 
                  title: "Government & Politics"
              }
          ]
      })
      This is very minor for me.

      Best regards
      Blama

      Comment


        #4
        We've addressed this back to SC 11.1p in nightly builds dated 2018-12-15 and beyond, but note that (still) neither header spans nor the fields within a header span can be drag-reordered with respect to each other.

        Comment


          #5
          Hi Isomorphic,

          I can see this is fixed in the current online showcase.

          Thank you & Best regards
          Blama

          Comment

          Working...
          X