• 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: NSTableView how to sort rows after modify datasource array
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView how to sort rows after modify datasource array


  • Subject: Re: NSTableView how to sort rows after modify datasource array
  • From: Peter <email@hidden>
  • Date: Fri, 12 Oct 2012 10:15:40 +0200

Am 02.10.2012 um 11:56 schrieb Евсеев Алексей:

> sorry for my english
>
> I have a form with NSTableView and two button "add" and "remove"
>
> "Add" button add's item into datasource array. And new row will show only after restart program.
>
> "Remove" button remove item from array.  While select another rows deleted rows will empty but visible.
>
> how i may reload table data. I test table.reload that no visible effect.
>

[myTableView reloadData]

if you are using a data source - which is what your message suggests.
If you switch to an NSArrayController it will do that auto-magically for you.

> Thank you.
> Aleksey.
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please 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)

Please 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


References: 
 >NSTableView how to sort rows after modify datasource array (From: Евсеев Алексей <email@hidden>)

  • Prev by Date: Re: Self contained command line tool
  • Next by Date: Re: copy in WebView
  • Previous by thread: NSTableView how to sort rows after modify datasource array
  • Next by thread: Problem with CATransaction
  • Index(es):
    • Date
    • Thread