• 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: Selecting Individual Cells in NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Selecting Individual Cells in NSTableView


  • Subject: Re: Selecting Individual Cells in NSTableView
  • From: "Francisco J. Bido" <email@hidden>
  • Date: Tue, 22 Jul 2003 10:30:44 -0500

Thanks very much, I'll look into that approach. I just thought that such functionality
was more readily available somewhere in the framework.

-FB


On Wednesday, July 16, 2003, at 09:23 AM, matt neuburg wrote:

On Mon, 14 Jul 2003 19:31:20 -0500, "Francisco J. Bido" <email@hidden>
said:

I need to select individual cells within NSTableView. If that goes
well, I would like to select a sequence of cells either in a row or in
a column. This would be no different then what you see in spreadsheet
applications and the way the cell cursor is implemented.

Well, what is "select"? As far as I can tell, it means to remember that one
particular cell is special and mark it specially in some way. So what I do
is implement tableView:willDisplayCell:forTableColumn: and mark the special
cell specially in some way. The table's action method takes care of
clicking and its keyDown event takes care of arrow keys, so the user can
set what cell is special. m.

--------
matt neuburg, phd = email@hidden, http://www.tidbits.com/matt
pantes anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart. http://www.tidbits.com/
_______________________________________________
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.
_______________________________________________
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: Emulating email apps To/Cc textfield?
  • Next by Date: Programmatically canceling dragging
  • Previous by thread: Re: Selecting Individual Cells in NSTableView
  • Next by thread: Re: iSync code?
  • Index(es):
    • Date
    • Thread