Hi,
When I have a grid with a datasource and a field with a displayField then sorting does not show the sortArrow in the header. This is because the sortspecifier contains the displayfield name.
To reproduce, try this code in the SmartClient_Explorer.html#dataSourceFields
example.
When I have a grid with a datasource and a field with a displayField then sorting does not show the sortArrow in the header. This is because the sortspecifier contains the displayfield name.
To reproduce, try this code in the SmartClient_Explorer.html#dataSourceFields
example.
Code:
isc.ListGrid.create({ ID: "countryList", width:500, height:224, alternateRecordStyles:true, dataSource: countryDS, fields:[ {name:"countryCode", title:"Flag", width:50, type:"image", imageURLPrefix:"flags/16/", imageURLSuffix:".png"}, {name:"population", title:"Population", formatCellValue:"isc.Format.toUSString(value)", displayField: 'countryName'}, {name:"area", title:"Area (kmē)", formatCellValue:"isc.Format.toUSString(value)"} ], autoFetchData: true })
Comment