On May 1, 2014, at 15:16 , Varun Chandramohan <varun.chandramo...@wontok.com> 
wrote:

> However this is not the case with the same table
> populated manually using NSPasteboardReading and NSTableViewDataSource,
> NSTableViewDelegate. I noticed a grey background to all the entries to the
> table.

It looks like you have inadvertently turned all the rows into group rows. There 
are a couple of ways this might happen, that I can think of offhand. One is 
(obviously) if you implemented the ‘tableView:isGroupRow:’ delegate method and 
returned YES. Otherwise, make sure in methods like ‘tableView:objectValue…’ and 
‘tableView:willDisplayCell…’ or ‘tableView:viewForTableColumn…’ that you don’t 
return a non-nil value when the column is nil. (A nil column is how the table 
view asks the delegate/data source for per-row values that span columns.)

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to