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

SortSpecifier and nested fields

$
0
0
SmartGWT 3.1 LGPL

Hi guys,

I have a datasource with a field which type is another datasource.

I can retrieve values from the nested fields the following way:
record.getAttributeAsRecord("type").getAttribute(" name")

I have a listgrid that I would like to sort by that "type/name" field.
Is it possible? I tried to use new SortSpecifier("type/name", ASCENDING), but it didn't work.

Thank you.

Viewing all articles
Browse latest Browse all 4756

Trending Articles