• 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: TableView Reload
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TableView Reload


  • Subject: Re: TableView Reload
  • From: Brian Webster <email@hidden>
  • Date: Tue, 16 Apr 2002 15:30:07 -0500

On Tuesday, April 16, 2002, at 02:43 PM, cocoa-dev-
email@hidden wrote:

I have a table view that is reloaded periodically. The problem is that
one of the columns is a user note field; while you're trying to enter
text in a cell of that column, if the table view is reloaded, the cell
gets deselected.

Is there a way to refresh only certain columns? Is there a solution to
this?

There isn't currently a way to refresh only certain rows/columns, although I'm certain that people have requested this feature in the past. I think the best you'll be able to do at this point is to either:

a) delay refreshing the table until the user stops editing
b) before refreshing, find out if the user is editing, and if they are, save what column and row they're editing, refresh the table, and then start editing again in that same column/row. Of course, the row may have shifted to a different index during the refresh, so you'd have to account for that.

--
Brian Webster
email@hidden
http://homepage.mac.com/bwebster
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Is it safe to use NSMailDelivery, Linker warning
  • Next by Date: Looking for a time entry control for Cocoa
  • Previous by thread: TableView Reload
  • Next by thread: Duplicating Targets in project builder
  • Index(es):
    • Date
    • Thread