Alpha200
Alpha200

Reputation: 478

How to make a continuous Cell in NSOutlineView?

I want to have a continuous Cell, which is not cropped to the width of the corresponding table column. Returning YES to the - (BOOL)outlineView:(NSOutlineView *)outlineView isGroupItem:(id)item delegate method takes no effect.

This screenshot visualizes my problem:

Screenshot

Upvotes: 1

Views: 181

Answers (1)

Monolo
Monolo

Reputation: 18253

According to the documentation, outlineView:dataCellForTableColumn:item: will be called a first time with the table column parameter set to nil. If you return a cell in that case (as opposed to returning nil), it will be used to draw group rows.

Upvotes: 1

Related Questions