Click on the checkbox select for the only record in the listgrid. You'll notice that the "Select all" checkbox is checked. Now uncheck the row. The "Select all" is not unchecked.
Code:
countryData = [ { continent:"North America", countryName:"United States", countryCode:"US", area:9631420, population:298444215, gdp:12360.0, 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" } ] isc.ListGrid.create({ ID: "countryList", width:500, height:224, alternateRecordStyles:true, data: countryData, selectionAppearance:"checkbox", fields:[ {name:"countryCode", title:"Flag", width:50, type:"image", imageURLPrefix:"flags/16/", imageURLSuffix:".png"}, {name:"countryName", title:"Country"}, {name:"capital", title:"Capital"}, {name:"continent", title:"Continent"} ], selectionChanged: "selectedCountries.setData(this.getSelection())" })
Comment