• 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
How to validate NSComboBoxCell selection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to validate NSComboBoxCell selection


  • Subject: How to validate NSComboBoxCell selection
  • From: "Prem Anand Joseph" <email@hidden>
  • Date: Mon, 20 Sep 2004 00:01:54 +0900

Friends,
 
I have an NSTableView column with NSComboBoxCell
data cell.
 
Combobox uses datasource for getting popup list
items.
 
I need to filter popup-list entries based upon
some criteria.
 
My approach was to manipulate the popup-list
using datasource's number of items for cell method,
based on [cell objectValue]. But [cell objectValue]
returns the object value of last selected cell. I think
this is due to the fact that same data cell is used for
all rows.
 
Can anyone suggest another approach?
 
Thanks,
Prem
 
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: How to validate NSComboBoxCell selection
      • From: Steven Kramer <email@hidden>
  • Prev by Date: Re: Notification to NSApp Strangeness SOLVED
  • Next by Date: Re: Unicode replaceOccuranceOfString?
  • Previous by thread: Manual binding in Java
  • Next by thread: Re: How to validate NSComboBoxCell selection
  • Index(es):
    • Date
    • Thread