• 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
Reordered columns and [tableView editColumn:0 row:ind withEvent:nil select:YES];
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Reordered columns and [tableView editColumn:0 row:ind withEvent:nil select:YES];


  • Subject: Reordered columns and [tableView editColumn:0 row:ind withEvent:nil select:YES];
  • From: Chris Idou <email@hidden>
  • Date: Wed, 7 Apr 2010 18:46:08 -0700 (PDT)


I've got some code that uses editColumn:0 to force the user into edit mode on the first column.

But I've noticed that if user column reordering is allowed, this no longer edits the correct column. This seems odd to me because I thought Cocoa pretty much shielded the programmer from all the user reordering stuff.

Even more oddly, if the user puts a checkbox as the first column, the checkbox seems to start behaving like a text box, albeit with invisible characters. Could I be doing something wrong, or is this some kind of bug? And do I have to somehow translate column 0 to find out the real column? I know Java tables have methods to translate between model and view column numbers because of user reordering, but I haven't noticed such a thing in Cocoa.




_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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

  • Follow-Ups:
    • Re: Reordered columns and [tableView editColumn:0 row:ind withEvent:nil select:YES];
      • From: Graham Cox <email@hidden>
  • Prev by Date: Re: Character Map
  • Next by Date: Re: Reordered columns and [tableView editColumn:0 row:ind withEvent:nil select:YES];
  • Previous by thread: SFAuthorization bug / crash
  • Next by thread: Re: Reordered columns and [tableView editColumn:0 row:ind withEvent:nil select:YES];
  • Index(es):
    • Date
    • Thread