• 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 reloadData question FOLLOWUP
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView reloadData question FOLLOWUP


  • Subject: Re: NSTableView reloadData question FOLLOWUP
  • From: Bill Cheeseman <email@hidden>
  • Date: Thu, 11 Apr 2002 06:07:18 -0400

on 02-04-10 6:45 PM, Ondra Cada at email@hidden wrote:

> As for the actual NSTableView behaviour, I personally would prefer its
> current behaviour: if I have a table and a textview in a window, and if
> clicking to a column heading changes the sorting (which is both quite
> common), I very definitely *NOT* want that re-sorting loses insertion
> point in the textview -- which would be an inevitable result of its making
> the NSTableView the FR!

That's a fair point. So, in my final solution, a single-click on a column
header will not select the table, and it can therefore still be used for
it's common traditional role of changing the column's sort order. But a
double-click on the column header will make the table the first responder,
and it will create a new cell ready for editing in the next available row in
that column.

I just wish a double-click on an empty row-column intersection in an empty
table would be accepted by the table, as it is when there is at least one
row in the table.

--

Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com

The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes
Croquet Club of Vermont - http://members.valley.net/croquetvermont
_______________________________________________
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.

References: 
 >Re: NSTableView reloadData question FOLLOWUP (From: Ondra Cada <email@hidden>)

  • Prev by Date: Re: Really stupid c question
  • Next by Date: How to detect a single mouse click on a cell in a TableView?
  • Previous by thread: Re: NSTableView reloadData question FOLLOWUP
  • Next by thread: Re: NSTableView reloadData question FOLLOWUP
  • Index(es):
    • Date
    • Thread