I have a table with three boolean fields. The fields are exclusive so only one of them is true. I need to display under hea same field and header of a grid a label that is different for each boolean field. It should display the label for the true field.
Is there any way to do it???
Some help would be appreciated.
Thanks in advance.
Hello ,
I have been looking into your requirement and since the Field does not have visual control and, there is no suggested way to add controls to the XamDataGrid, I can suggest using the built-in summaries functionality which will provide you with the location you are looking for and means to create a custom summary to be displayed, which will contain the label you want. Here is a link showing how to create your own summary: http://help.infragistics.com/Help/NetAdvantage/WPF/2011.1/CLR4.0/html/xamDataPresenter_Creating_a_Custom_Summary_Calculator.html and here is one showing how you can set it to the proper field by code: http://help.infragistics.com/Help/NetAdvantage/WPF/2011.1/CLR4.0/html/xamDataPresenter_Programmatically_Add_Summaries_to_a_Field.html
Please let me know if you require any further assistance on the matter.