SgDotNet
Singapore Professional .NET User Group -For Cool Developers
Sign in
|
Join
|
Help
Home
Blogs
Media
Forums
Wikis
Groups
Forums
»
.NET Framework
»
Windows Forms & Smart Clients
»
UltraGrid keeps showing Hidden columns
UltraGrid keeps showing Hidden columns
rated by 0 users
This post has 1 Reply | 1 Follower
Posts
2,284
Reply
icelava
Posted: 09-07-2006 9:45 AM
rated by 0 users
There is this particular UltraGrid that is supposed to show 2 out of 4 columns in a DataTable, but despite labelling them as Hidden, those columns that should not be displayed still come out visible. I am for now not able to determine what is the difference between this grid and the rest of the UltraGrids in other forms that
do
hide their columns as instructed.
Besides setting the Hidden property to True in the UltraGridColumn, is there something else I missed? The Keys are correctly defined to the column names.
The melody of logic will always play out the truth. ~ Narumi Ayumu, Spiral
Posts
2,284
Reply
icelava
replied on
09-07-2006 10:47 AM
rated by 0 users
I have destroyed the UltraGrid control in the designer and placed a new one in, only to face the result irritating result. In the end, I found that those Hidden columns were somehow being reset back to False by something somewhere. I had to insert explicit reverting code to counter this
this.checklistGrid.DisplayLayout.Bands[0].Columns[2].Hidden = true;
this.checklistGrid.DisplayLayout.Bands[0].Columns[3].Hidden = true;
The melody of logic will always play out the truth. ~ Narumi Ayumu, Spiral
Previous
|
Next
Page 1 of 1 (2 items) |
RSS
Copyright SgDotNet 2004-2008