• 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: Spreadsheet functions in NSTableview
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Spreadsheet functions in NSTableview


  • Subject: Re: Spreadsheet functions in NSTableview
  • From: Half Activist <email@hidden>
  • Date: Fri, 2 Feb 2007 18:39:25 +0100

Hi Johan,
Something's coming to my mind, does NSTableView support cell selection?
I mean, you can select rows, or columns if you allow the view to do so, but, is there a way to select a specific set of cells?
for example, sending something like [ tableView selectCellAtRow: r andColumn: c ]
Regards.


On Feb 2, 2007, at 11:52 AM, Johan Augustsson wrote:

Hello

I need spreadsheet-like functions. I'm trying to implement this in an
NSTableView (Haven't found anything better, any suggestions?).
What is the best way to change the arrow-keys to change cell during
editing rather than change text-marker position?

I have edited the tab and return keys to act as I want by sub-
classing NSTableView and override textDidEndEditing, but I guess that
I have to subclass the cells now. Is there a better approach perhaps?
_______________________________________________

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


References: 
 >Spreadsheet functions in NSTableview (From: Johan Augustsson <email@hidden>)

  • Prev by Date: Re: Execute Function when loading a Preference Pane
  • Next by Date: Re: key path blues
  • Previous by thread: Re: Spreadsheet functions in NSTableview
  • Next by thread: Re: Spreadsheet functions in NSTableview
  • Index(es):
    • Date
    • Thread