How can I retrieve the Field order at a given time, just the way that the user has placed them?
If I look in the FieldLayouts[0].Fields list they seem to always have the same order and index.
/Carl
I still haven't figured this out yet, if anyone else has any solution I would like to see it..
These properties ( Field.Row and Field.Column ) don't seem to change when the fieldposition is changed
Rather its the following that reflects the field positon change
_cellPosition {Infragistics.Windows.DataPresenter.Field.FieldGridPosition} Column 4 int ColumnSpan 1 int Row 0 int RowSpan 1 int
is there a reason why these dont get reflected into the Field.Row/Field.Column properties
... is this a bug ... or something i fail to understand
Hi
I've been looking closer at this and found 2 different field collections: DefaultFieldLayout.Fields and FieldLayouts[0].Fields. In either case the Field.Row and Field.Column is always 0 and Field.RowSpan and Field.Columnspan is always 1. Is this correct or is there a third collection somewhere?
/confused - Carl
Hi tempcaken,
In answer to your question I would like to use the comment made by Joe Modica related to the issue:
"The order of the Fields in the collection will not change when columns are moved. The reason is that the Fields can be moved in such a way that they create complex multi-row layouts with row and column spanning. In this case there is no clear linear order that could be represented simply by the position of the Fields in the Fields collection. If the developer wants to examine Field positions and take some action based on a position, he can look at the Field.Row, Field.RowSpan, Field.Column and Field.ColumnSpan properties to determine the position of a given Field."
Best Regards,Yanko