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 » Hiding in GridCtrl. Special case.
Hiding in GridCtrl. Special case. [message #18385] Thu, 25 September 2008 18:19 Go to next message
bytefield is currently offline  bytefield
Messages: 210
Registered: December 2007
Experienced Member
Hi, is there any way of hiding a column without it to appear in GridCtrl menu (left-click), so the user doesn't have to know about it? I'm using GridCtrl with Hiding(). Hidden() applied to a column do that hiding it initially but not from menu.

Regards, Andrei.


cdabbd745f1234c2751ee1f932d1dd75
Re: Hiding in GridCtrl. Special case. [message #18398 is a reply to message #18385] Fri, 26 September 2008 00:28 Go to previous message
unodgs is currently offline  unodgs
Messages: 1366
Registered: November 2005
Location: Poland
Ultimate Contributor

bytefield wrote on Thu, 25 September 2008 12:19

Hi, is there any way of hiding a column without it to appear in GridCtrl menu (left-click), so the user doesn't have to know about it? I'm using GridCtrl with Hiding(). Hidden() applied to a column do that hiding it initially but not from menu.

Regards, Andrei.

Yes, use AddIndex instead of AddColumn.
grid.AddIndex(ID)
grid.AddIndex(HIDDEN_NAME);
grid.AddColumn(PUBLIC_NAME); // only this column will be available in popup menu

Previous Topic: Date pasted in GridCtrl saved in sqlite. Problem and solution
Next Topic: whanaction whenarrayaction
Goto Forum:
  


Current Time: Fri Apr 19 23:33:58 CEST 2024

Total time taken to generate the page: 0.03978 seconds