Announcement

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

    grid.willFetchData gives wrong result when the grid is grouped

    SmartClient Version: SNAPSHOT_v11.1d_2017-02-28/Enterprise Development Only (built 2017-02-28)
    and
    SmartClient Version: v11.0p_2017-02-28/AllModules Development Only (built 2017-02-28)

    Chrome on OSX Sierra

    Hello, please modify the #dynamicGrouping sample like this:
    Code:
    isc.ListGrid.create({
        ID: "countryList",
        width:522, height:224, top: 30,
        alternateRecordStyles:true, 
        dataSource: countryDS,
        // display a subset of fields from the datasource
        fields:[
            {name:"countryName"},
            {name:"government"},
            {name:"continent"},
            {name:"countryCode", title:"Flag", width:40, type:"image", imageURLPrefix:"flags/16/", imageURLSuffix:".png", canEdit:false}
        ],
        groupStartOpen:"all",
        groupByField: 'continent',
        autoFetchData: true
    })
    
    isc.Button.create({
          ID: "button",
          title: "willFetchData?",
          click: function () {
              isc.say("willFetchData: " + countryList.willFetchData()); 
          }
    })
    you'll see that willFetchData returns true. If you ungroup the grid, it will return false, correctly.

    #2
    This is fixed for builds dated March 4 and later.

    Comment


      #3
      SmartClient Version: SNAPSHOT_v11.1d_2017-03-05/Enterprise Development Only (built 2017-03-05)

      I can confirm it's fixed, thank you very much.

      Comment

      Working...
      X