• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Rép : NSTableView column order in Interface Builder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Rép : NSTableView column order in Interface Builder


  • Subject: Rép : NSTableView column order in Interface Builder
  • From: HORUS Technologies <email@hidden>
  • Date: Fri, 22 Jul 2005 19:47:46 +0200

Le 22 juil. 05 à 17:50, Doug Knowles a écrit :

I know I can enable the columns to be re-positioned at runtime, but
I'd like to specify the "out of the box" behavior in Interface
Builder.

Hello Doug,

You can reorder the columns in IB exactly like at run time.
Just select the table view (be sure you select the NSTableView, not the enclosing NSScrollerView) then click and hold on the column header until the cursor becomes a hand, then move the column.
Maybe you don't hold long enough?


Hope this helps,

Olivier


Date: Fri, 22 Jul 2005 11:09:07 -0400
From: Doug Knowles <email@hidden>
Subject: Re: NSTableView column order in Interface Builder
To: email@hidden
Message-ID: <email@hidden>
Content-Type: text/plain; charset=ISO-8859-1

Hello, Kiel,

Thanks for the response.  My question was about controlling the
initial, or default, column order of an NSTableView in Interface
Builder.

Specifically, I already have a four-column table defined, and I would
like to add a new column to the table as the second column from the
left.  When I increment the column count in Interface Builder, the new
column usually (not always?) appears at the far right in the view, and
there is no way to re-position it in IB (that I can find).  The only
way I have found to configure the table the way I want it is to adjust
the properties and bindings of the fifth, fourth, third, and second
table columns, which seems way harder than it should be.

I know I can enable the columns to be re-positioned at runtime, but
I'd like to specify the "out of the box" behavior in Interface
Builder.

_______________________________________________
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


  • Prev by Date: Re: Starting out with adding Applescript support to my Cocoa app (basic question about the best script interface)
  • Next by Date: [Core Data] recordExistsForKey:Value method?
  • Previous by thread: Re: Starting out with adding Applescript support to my Cocoa app (basic question about the best script interface)
  • Next by thread: [Core Data] recordExistsForKey:Value method?
  • Index(es):
    • Date
    • Thread