Hide column in multicolumn list

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

Rakkar
Not too shy to talk
Not too shy to talk
Posts: 34
Joined: Tue Aug 15, 2006 02:49

Hide column in multicolumn list

Postby Rakkar » Wed Apr 11, 2007 06:21

How do I hide a column in a multi-column list?

User avatar
Levia
Quite a regular
Quite a regular
Posts: 83
Joined: Mon May 22, 2006 18:25
Location: Bergen op zoom, The Netherlands
Contact:

Postby Levia » Wed Apr 11, 2007 07:25

You can't. I would remove it temporarily and add it later on when you need it again.
Image
Image

Rackle
CEGUI Team (Retired)
Posts: 534
Joined: Mon Jan 16, 2006 11:59
Location: Montréal

Postby Rackle » Wed Apr 11, 2007 12:35

I would try setting the column width to zero: setColumnHeaderWidth( columnHeaderIndex, UDim(0,0) )

User avatar
Levia
Quite a regular
Quite a regular
Posts: 83
Joined: Mon May 22, 2006 18:25
Location: Bergen op zoom, The Netherlands
Contact:

Postby Levia » Wed Apr 11, 2007 13:02

I think you'll get to see a border then.
Image

Image

Rakkar
Not too shy to talk
Not too shy to talk
Posts: 34
Joined: Tue Aug 15, 2006 02:49

Postby Rakkar » Sun Apr 22, 2007 03:51

How do I rename a column header? I tried getItemAtGridReference but that got the item and not the column

User avatar
Levia
Quite a regular
Quite a regular
Posts: 83
Joined: Mon May 22, 2006 18:25
Location: Bergen op zoom, The Netherlands
Contact:

Postby Levia » Sun Apr 22, 2007 07:09

Hmm odd. As far as I can see you can't. Remove the column, save its position, and create a new one, with your new text.
Image

Image


Return to “Help”

Who is online

Users browsing this forum: No registered users and 9 guests