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
225
Hidden Fields are appearing in the FieldChooser
posted

Hi,

 We are using XamDataGrid control in our application, to which we use FieldChooserButton so that users can select few columns depending on their need.   We are hiding few columns purposely, as those are not required for users.  And the problem is, the columns which are hidden also appearing in the field chooser.

 I have created a sample application to replicate the same.  There are 5 columns Age, MyProperty, Voltage1, Voltage2, Voltage3 in a table and Voltage1 (highlighted) is hidden column. As shown below, even though Voltage1 is hidden column, it is appear in Field Chooser.

I have tried adding new filter to the FieldChooser. I am able to resolve the above problem as show below:

But, am seeing tree view in the top combobox as below, which we do not want.

Please suggest solution to resolve this issue.  

Note: The infragistics version that we are using is 14.2 (14.2.20142.2024)

DataGrid_FieldChooserLabels.zip
Parents
No Data
Reply
  • 29105
    Suggested Answer
    Offline posted

    Hello,

    Thank you for reaching out. It is expected for all Fields to appear in the FieldChooser. The AllowHiding property on the FieldSettings class can control this by deciding whether or not to appear in the Field Chooser. Please set this value to AllowFieldHiding.Never.

    An example is demonstrated in our online help.

    "AllowHiding" Property (FieldSettings)

    Let me know if you have any questions regarding this matter.

Children