Exclude sorted columns from Ultragrid SaveAS XML?

Posted by MBeynon on 04-Jun-2013 03:53

Hi,

Is it possible when saving an ultragrid layout to exclude the sorted columns in the stored XML?

Many thanks,

Mark.

All Replies

Posted by MBeynon on 04-Jun-2013 04:23

Found some code on the Infragistics website that seems to do what I want:

ultraGrid1.DisplayLayout.SaveAsXml( "layout.xml", PropertyCategories.All & ~PropertyCategories.SortedColumns);

However, I'm not sure what the Progress equivalent of & ~ is to exclude the sorted columns.

This thread is closed