Re: Checkboxes in Table Views
Re: Checkboxes in Table Views
- Subject: Re: Checkboxes in Table Views
- From: Greg Herlihy <email@hidden>
- Date: Thu, 05 Jan 2006 00:10:31 -0800
- Thread-topic: Checkboxes in Table Views
To set a table column to checkboxes:
In the Tableview IB palette select the lone checkbox (found on the left edge
of the display, midway between top and bottom edges); drag the checkbox into
the tableĀ¹s row area (that is, not the table header area) of the column that
is to contain the checkboxes. The table column will highlight appropriately
when the checkbox being dragged is currently withiin the bounds of an area
that will accept it.
Once the column has been configured with a checkbox (or any other
specialized cell), its header when selected will display a little triangle
with which one can edit the specialized cell settings (by clicking on it).
To restore a table column to the default, generic cell type, select the
table column by clicking in its header (but not inside the little triangle)
and then click on the "Use Default Data Cell" button at the bottom of the
properties inspector panel.
The entire process is actually much easier than I probably have made it
sound.
Greg
On 1/4/06 4:46 PM, "Steve Woodward" <email@hidden> wrote:
> Thanks for the reply James!
> Question: How do you set the column to to be checkboxes in IB? I'm
> using setDataCell in awakeFromNib to display checkboxes.
> Other than that I'm getting there, I just have to work out the
> translation between the bool data I get from postgres to something I
> can use in my class.
> Thanks again!
>
> Steve W
>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden