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
240
How to implement field visibility by trigger?
posted

I'm using XamDataGrid. However, I have a problem.

I want to display data depending on program version.

my data has properties as follows

No, Name, Department, StaffID

I want to display when program version is 1.0

No, Name, Department, StaffID

But, when program version is 2.0, StaffID field does not display

  • 69686
    posted

    Hello,

    You will not be able to bind the visibility of the field with a trigger, but you can set this manually in the FieldLayoutInitialize event of the XamDataGrid. You can also create and apply a new FieldLayout depending on the version.