Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
75
AutoGenerateFields : add an UnboundField after the generated fields
posted

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.

Parents
  • 138253
    Offline posted

    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.

Reply Children