• 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: Editing and displaying different values in table cells
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Editing and displaying different values in table cells


  • Subject: Re: Editing and displaying different values in table cells
  • From: Scott Anguish <email@hidden>
  • Date: Thu, 6 Nov 2003 14:15:43 -0500

What I would like, though, is to have it so that the column displays both
the number of points, but also an indication of the percentage score
(perhaps in gray text--which I can do with attributedStrings). However,
when the user edits the cell, the percentage value must disappear and the
only editable information must be the number of points.

Is this possible? Right now I use two columns, one for points (which is
editable) and one for percent (which is not). However, I'm going to add
more columns and I don't want to have to use two columns for each grade.


This is possible, but you'd need to make a new textfield cell subclass.

The two column mode is easier, and UI wise more straight forward.
_______________________________________________
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: 
 >Editing and displaying different values in table cells (From: Matthew Roberts <email@hidden>)

  • Prev by Date: Re: Modifying the array of an NSArrayController
  • Next by Date: XCode problem: debugger doesn't stop on breakpoint
  • Previous by thread: Re: Editing and displaying different values in table cells
  • Next by thread: Praise for the many AppKit enhancements
  • Index(es):
    • Date
    • Thread