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
4155
How to hide a row in a table?
posted

In my Infragistics.Reports.Table, I have one Infragistics.Reports.TableRow that I would like to hide if there is a null or empty string value.  I have set the Visible property =IsNullOrEmpty(Fields.Address2), yet the row is still shown even when there is no value.  When i expand the Visible property, the DataBinding property is also set to =IsNullOrEmpty(Fields.Address2 and DefaultValue is True.

The table needs to show company addresses, and some companies ie.

Company Name

Address 1

Address 2

City  State  ZIP

I have included a sample project showing the problem.

Many addresses do not need the Address2 table row, and it looks silly when the row is shown with nothing in it.  How can i get the row to hide when there is no value?

IGReportHideRow.zip