Hello everybody.
For implementing an UI, I need to display fields from the entity using AutoGenerateFields=true
I also need to display unbound fields on the same grid.It works well apart that I want these fields displayed after the generated ones, by default these are shown before.
How can I change this behavior ? I run 2012.1 release.
Thanks by advance.
Hello Bobby,
Thank you for your post. I have been looking into it and I can suggest you handle the XamDataGrid’s FieldLayoutInitialized event and add the UnboundFields in the handler using the FieldLayoutInitializedEventArgs’ FieldLayout.Fields collection in order to add them after the auto generated ones. Please let me know if you have further questions on this matter.
Looking forward for your reply.
I can handle creation of fields using this method.
Thank you very much for your support !
Thank you for your feedback. I am glad that you resolved your issue and I believe that other community members may benefit from this as well.
Thanks again.