Hi Isomorphic,
I am on SmartClient 8.3 (9-17 build) but also noticed this on 9.0.
When I set selectHeaderOnSort to false in a ListGrid to remove the selected state when a column is sorted, it still shows the ListGrid column in the selected state.
I am on SmartClient 8.3 (9-17 build) but also noticed this on 9.0.
When I set selectHeaderOnSort to false in a ListGrid to remove the selected state when a column is sorted, it still shows the ListGrid column in the selected state.
Code:
isc.ListGrid.create({ ID: "countryList", width:500, height:224, alternateRecordStyles:true, showAllRecords:true, 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", formatCellValue:"isc.NumberUtil.toUSString(value)"}, {name:"area", title:"Area (km²)", formatCellValue:"isc.NumberUtil.toUSString(value)"} ], selectHeaderOnSort: false, // initial sort on Population, high-to-low initialSort: [{ property: "population", direction: "descending" }] })
Comment