• 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
Possible to send a tableViewSelectionDidChange notification?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Possible to send a tableViewSelectionDidChange notification?


  • Subject: Possible to send a tableViewSelectionDidChange notification?
  • From: Daniel Weber <email@hidden>
  • Date: Fri, 18 Nov 2005 19:35:22 -0500

When I delete a row from an NSTableView, I want the selection to
remain the same (i.e. if row 3 was selected, I want row 3 to remain
selected after the deletion, even though the item is different). But I
want tableViewSelectionDidChange: to be triggered because this is
where I update all of the other GUI objects to reflect the new change.
By default, I see that the same row is left selected, but this method
is not called. Even if I do something like deselect the current row
and then select it again, tableViewSelectionDidChange is still not
called! Is there a way to call this method directly?

Thanks for your help (I'm new to cocoa if you couldn't tell : )
 _______________________________________________
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

  • Follow-Ups:
    • Re: Possible to send a tableViewSelectionDidChange notification?
      • From: Brian Stern <email@hidden>
  • Prev by Date: Re: addSubView: [NSView subviews] doesn't show any subviews, after adding subviews. ****Revised****
  • Next by Date: Problems making a framework (was tabbed class like Safari)
  • Previous by thread: Re: addSubView: [NSView subviews] doesn't show any subviews, after adding subviews. ****Revised****
  • Next by thread: Re: Possible to send a tableViewSelectionDidChange notification?
  • Index(es):
    • Date
    • Thread