Q: How to sort a facade view (1 Viewer)

kroko

Portal Pro
February 4, 2007
428
420
55
Itzehoe
Home Country
Germany Germany
I'm trying to sort a facade view :confused:


protected GUIFacadeControl lstRecords = null;
...
if (lstRecords == null)
{
lstRecords = new GUIFacadeControl(GetID);
}
...

foreach (GUIListItem itemS in snapDirectory.GetDirectory(SnapDir))
{
if (!itemS.IsFolder)
{
lstRecords.Add(item);
}
}
...

and then ? Possible with lstRecords.Sort ?? But how ?
I would like to sort on the item.label...

Greetz
kroko
 

kroko

Portal Pro
February 4, 2007
428
420
55
Itzehoe
Home Country
Germany Germany
YES, that was what I needed. Very cool with sort and view_as button. It worked almost in the first try. No I need only to tune the focus and the selection a little bit.

Thank you very much.

Greetz from the US
kroko
 

Users who are viewing this thread

Top Bottom