Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » Hide arrayctrl column?
Hide arrayctrl column? [message #9660] Thu, 24 May 2007 00:17 Go to next message
michael is currently offline  michael
Messages: 153
Registered: May 2007
Location: Germany
Experienced Member
Is there a way to hide a single column in an arrayctrl?

Michael
Re: Hide arrayctrl column? [message #9662 is a reply to message #9660] Thu, 24 May 2007 10:13 Go to previous messageGo to next message
michael is currently offline  michael
Messages: 153
Registered: May 2007
Location: Germany
Experienced Member
Ok, solved it by using:

datagrid.ColumnWidths("0 1 1 1 1 1 1 1");


Michael
Re: Hide arrayctrl column? [message #9663 is a reply to message #9662] Thu, 24 May 2007 11:20 Go to previous messageGo to next message
unodgs is currently offline  unodgs
Messages: 1366
Registered: November 2005
Location: Poland
Ultimate Contributor

Or arr.AddColumn("column", 0) or better (if this column will never be shown) arr.AddIndex()
Re: Hide arrayctrl column? [message #9664 is a reply to message #9660] Thu, 24 May 2007 11:32 Go to previous messageGo to next message
michael is currently offline  michael
Messages: 153
Registered: May 2007
Location: Germany
Experienced Member
Ah, AddIndex() is much better. Thanks.

Michael
Re: Hide arrayctrl column? [message #9687 is a reply to message #9664] Thu, 24 May 2007 23:55 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
...note that the mapping between columns and indices can take various forms. Index can be visible in none, single or many columns, column can display one or more indices...
Previous Topic: Applying NoDuplicate within GridControl
Next Topic: Get data from arrayctrl
Goto Forum:
  


Current Time: Mon Apr 29 09:00:33 CEST 2024

Total time taken to generate the page: 0.01624 seconds