FROM : comcast
DATE : Sat Jan 19 18:46:56 2008
Great, It would be better to have the appropriate cell type show
directly in my table. I made -tableView:dataCellForTableColumn:row in
my table's delegate, but it is not called. I am not finding a lot of
documentation or examples on this. Any suggestions.
Given I can get it called can this be done selectively for given rows
or columns and use tableView:tableView objectValueForTableColumn:row
for those that are text.
On Jan 19, 2008, at 9:56 AM, Kyle Sluder wrote:
> Use the NSTableView delegate method
> -tableView:dataCellForTableColumn:row:, have it return an NSCell
> subclass of the appropriate type, and either bind it or set its target
> and action manually.
>
> You seem to be confused. The field editor exists only for text cells.
>
> --Kyle Sluder
DATE : Sat Jan 19 18:46:56 2008
Great, It would be better to have the appropriate cell type show
directly in my table. I made -tableView:dataCellForTableColumn:row in
my table's delegate, but it is not called. I am not finding a lot of
documentation or examples on this. Any suggestions.
Given I can get it called can this be done selectively for given rows
or columns and use tableView:tableView objectValueForTableColumn:row
for those that are text.
On Jan 19, 2008, at 9:56 AM, Kyle Sluder wrote:
> Use the NSTableView delegate method
> -tableView:dataCellForTableColumn:row:, have it return an NSCell
> subclass of the appropriate type, and either bind it or set its target
> and action manually.
>
> You seem to be confused. The field editor exists only for text cells.
>
> --Kyle Sluder
| Related mails | Author | Date |
|---|---|---|
| comcast | Jan 19, 15:11 | |
| Kyle Sluder | Jan 19, 15:56 | |
| comcast | Jan 19, 18:46 | |
| Kyle Sluder | Jan 19, 18:51 |






Cocoa mail archive

