Hi, see this example:
http://www.smartclient.com/#expansionDetailField
Using this:
Is it possible to apply the formatting of the cell to the detail field as well? If you see, the background cell value is truncated to 5 characters but the expanded detail still shows the entire field.
http://www.smartclient.com/#expansionDetailField
Using this:
Code:
isc.ListGrid.create({
ID: "countryList",
width:500, height:300,
alternateRecordStyles:true,
data: countryData,
fields: [
{name: "countryName", title: "Country"},
{name: "capital", title: "Capital"},
{name: "continent", title: "Continent"},
{name:"background", formatCellValue:function(value,record){return value.substring(0,5) + "...";}}
],
canExpandRecords: true,
expansionMode: "detailField",
detailField: "background"
});
Comment