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
2395
Field Chooser
posted

Two questions:

1. I don't want field chooser button to be visible, but want to invoke field chooser from context menu.

2. I would like to hide a record selector (only data fields to be visible)

 

Is above possible and if it is, how?

 

Thank you

Parents
No Data
Reply
  • 3520
    Verified Answer
    Offline posted

    Hi Dierk,

    1. If you don't want to use the FieldChooserButton, you can invoke the FieldChooser in 2 ways:

    - By using ShowFieldChooser command as follows:

    xamDataGrid1.ExecuteCommand(DataPresenterCommans.ShowFieldChooser);

    - By using ShowFieldChooser method as follows:

    xamDataGrid1.ShowFieldChooser();

    2. In order to hide the record selector you can set the RecordSelectorLocation property of FieldLayoutSettings to None.

    Hope this helps.

Children