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
20
Hide/Display column in Infragistic report
posted

Hi,

I am new to Infragistic controls. I want to create a dynamic report such that, the columns dispalyed in the report are dynamic.

I have a XamDataGrid and a combobox in a WPF window. The XamDataGrid get loaded with two different classes according to the selection of the combobox. There is a button, onClick of which a new window opens which displays the data from the grid to the report. The data are being passed as a collecrtion of two different classes and the same is used to bind to reports, but only one of the two class report is generated and other does not, where as the other have data. What I need to know is, is it possible to send data as one single class and display only the columns in the report which have data, and hide the rest?

Thanks in Advance! Ruchi