Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

ListGrid sort

$
0
0
Code:
isc.ListGrid.create({
...
fields:[{
name:"a",
title:"a"
},{
name:"b",
title:"b",
formatCellValue : function(value, record, rowNum, colNum, grid)
{
return record["c"]["b"];
}
}]
});

record:

[{"a":"testa","c":{"b":"testB"}},...]

Click on the field B, according to the field to sort B. From the results on sorting failed.
What should I do?
thank you

Viewing all articles
Browse latest Browse all 4756

Trending Articles