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
695
event to hide\show and format columns?
posted

What is the best event to format\hide\show columns?

_FieldLayoutInitialized? _Loaded? _LayoutUpdated?

 

 

 

  • 69686
    posted

    Hello,

    FieldLayoutInitialized or Loaded events are best for this. FIeldLayoutInitialized event will fire every time when a new field layout is created. Loaded will fire only once when the XamDataGrid is loaded. LayoutUpdated is not recommended as it fires frequently - every time the layout of the XamDataGrid is updated.