On Jun 25, 2014, at 9:07 AM, Jonathan Mitchell <jonat...@mugginsoft.com> wrote:
> 
> The docs for 
> 
> - (NSCell *)tableView:(NSTableView *)tableView 
> dataCellForTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row
> say
> 
> A different data cell can be returned for any particular table column and 
> row, or a cell that will be used for the entire row (that is, a full width 
> cell).
> 
> This applies for cell based table views.
> 
> Can I return a view to represent the whole row in a view based control?

Only if the row is a group row (the datasource/delegate returns YES from 
-…isGroupRow:).

In that case, -…viewForTableColumn:row: will get a nil table column, and you 
can return your full-width cell view.

I filed a radar asking for the ability to have full-width non-group rows, but 
haven’t heard anything about it.

--Kyle Sluder

_______________________________________________

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