• 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
NSTableView in NSTabView(Item) update problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTableView in NSTabView(Item) update problem


  • Subject: NSTableView in NSTabView(Item) update problem
  • From: Rick Jansen <email@hidden>
  • Date: Fri, 28 Nov 2003 00:42:30 +0100

I have a simple NSTableView that I fill in with the wellknown
methods (numberOfRowsInTableView/objectValueForTableColumn)
and that all works fine. I also pre-select some rows in the
table using [tableView selectRow:row byExtendingSelection:YES];
The cells in the table are not editable, I'm just interested in
(multiple) row-selections.

The table displays OK in the NSTabViewItem it's in, apart from
the pre-selected rows: they are not hilited until I select another
window or tab. At that moment the pre-selected rows are hilited gray.
When I reselect my window (or tab) they're hilited OK in blue.

I did do: [Window makeFirstResponder: SelectionTabView];
but obviously I'm missing something in the update process of
NSTableView! How do I set this up so the table shows with the
pre-selected rows right away?

--
Rick
_______________________________________________
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.

  • Prev by Date: Re: const char* to char*
  • Next by Date: Re: const char* to char*
  • Previous by thread: Re: status of cString (was const char* to char*)
  • Next by thread: Best way to display window?
  • Index(es):
    • Date
    • Thread