Sorting reference set in a datagrid

4
Can I influence the sorting of reference set in a datagrid?
asked
4 answers
5

You can have the grid sort on reference sets, however you currently cannot influence the order in which elements appear in the grid cell.

The client doesn't have a configuration parameter for this and and simply renders the attributes in the order they are returned from the XAS.

If you require this functionality you could enter a feature request in MXDN.

answered
3

Do you mean the sorting of a column that shows values in a reference set?

In that case, I would suspect that the way the reference set itself is sorted determines how it is shown in the datagrid

So two rows that show values of a reference set will be sorted as follows

Arie, Jan, Rene

Bert, Karel, Simon

answered
2

I believe that's not what i meant. If you have a reference set (selector) in a DATAGRID, can you influence the sorting? if you create a reference set (selector) in a DATAVIEW, you can influence the sorting by property.

answered
0

Maybe I am simply not understanding the question, but you can sort a reference set in a datagrid in the same way as any datagrid, using the 'sort on' property.

answered