I need to know the real order on columns in the grid. A user can move columns by the mouse and position of fields in a collection FieldsLayout.Fields is not changed. Field.Index raimains the same too. How can I get the real position of the columns?
Hi Petr,
I believe what you are looking for are the ActualPosition values of the FieldLayouts[n].Fields. That includes the Column, ColumnSpan, Row and RowSpan.
Let me know if that helps or if you have any questions.
I hope my suggestion was helpful.
Please let me know if you have any questions.
I check ActualPosition, but it is not what I need. It contains the different data.
Please give me more details about the information you are looking for.
It looks to me that the field's ActualPosition which contains the Column, ColumnSpan, Row and RowSpan is what you need. I used a button click in my sample to looped thru each field in the fieldLayout's fields collection and display the ActualPosition properties.
If you would, please give me more details about your requirements and your how you have implemented the xamDataGrid, so I can look into this further.
Hello Petr,
Have you resolved your issue?
If not, please provide us with additional information on what you are doing and what the values in the ActualPosition reflect (as opposed to what you expect) so that we can be of further assistance.
Sincerely,Valerie Developer Support Supervisor - XAMLInfragisticswww.infragistics.com/support