• 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
Re: Add/Remove table column dynamicly
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Add/Remove table column dynamicly


  • Subject: Re: Add/Remove table column dynamicly
  • From: Murat Konar <email@hidden>
  • Date: Mon, 15 Jan 2007 12:56:16 -0800

What is most likely happening is that you're expecting the columns that remain to automatically be resized to take up the space vacated by the column you remove. It's not automatic.

See NSTableView's sizeLastColumnToFit method.

_murat

On Jan 15, 2007, at 12:48 PM, Ferhat Ayaz wrote:

no. This will remove the column content. I have still a blank column in my tableview.

On Jan 15, 2007, at 8:11 PM, Nick Kreeger wrote:

Does this not work:
- (void)removeTableColumn:(NSTableColumn *)aTableColumn

(From The NSTableView apple docs)

Ferhat Ayaz wrote:
How can I add/remove tablecolumn dynamicly? Removing the NSTableColumn does not remove the volumn in tableview. Instead it clears the content of the column.
Thanks,
Ferhat
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
40gmail.com
This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Add/Remove table column dynamicly
      • From: Ferhat Ayaz <email@hidden>
References: 
 >Add/Remove table column dynamicly (From: Ferhat Ayaz <email@hidden>)
 >Re: Add/Remove table column dynamicly (From: Ferhat Ayaz <email@hidden>)

  • Prev by Date: Re: weird sheet problem
  • Next by Date: howto draw math forumulas
  • Previous by thread: Re: Add/Remove table column dynamicly
  • Next by thread: Re: Add/Remove table column dynamicly
  • Index(es):
    • Date
    • Thread