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
280
Unable to set .Hidden to False on a column
posted

I have an UltraWinGrid where I have set the DataSource to a DataSet that contains 2 tables with a relation set between the two tables on a column named "CodeNumber" as the Parent Column and "ChildColumnNumber" as the Child column.  My grid displays as I would expect, but I would like the column "CodeNumber" in Band(0) to be displayed.  I have a line of code inplace to do this but if I set a break point in the line and inspect the value of Hidden before and after I set it to False it does NOT change.

Is there some way to "override" this behavior?

I'm using the latest versoin of NetAdvantage and VB.Net 2013.

Thanks,

Jamie Irwin

Parents
  • 2165
    posted

    Hello Jamie,

    I have tried to reproduce your issue and everything seems to work fine for me. When I set a relation between two tables both the parent column and the child one are visible when I run the program. So, I assume that the issue you’ve got occurs due to grouping by the column ‘CodeNumber’. If you group by some column it would no longer be visible in the band. In order to make it visible you could set the GroupByColumnHidden property to false.

    I have implemented this suggestion in a simple sample and you could run and evaluate it. Please see attached zip.

    However, if that’s not the case could you please modify my sample in order to reproduce the issue you’ve got, so I’ll be able to investigate this on my own?

    I am waiting for your feedback.

    CAS-144737-J9S4N3.zip
Reply Children