discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: viewFortableColumn method invocation


From: Gregory Casamento
Subject: Re: viewFortableColumn method invocation
Date: Thu, 16 Jul 2015 17:37:06 -0400

Chandan,

You will need to implement the calls to those methods from
NSTableView.   Also please remember to test with NSOutlineView which
derives from NSTableView.  I'm the original author of NSOutlineView so
please ask any questions you may have.

Thanks, GC

On Thu, Jul 16, 2015 at 9:34 AM, David Chisnall <theraven@sucs.org> wrote:
> On 16 Jul 2015, at 14:22, chandan bp <cbp698@gmail.com> wrote:
>>
>> Hi,
>>
>>       I am implementing NSTableCellView class i.e for view based 
>> NSTableView. I added NSTableCellView header and implementation files.
>>
>>      I added viewForTableColumn method in NSTableViewDelegate protocol and 
>> included its implementation in NSTableView.m.
>>
>>       However on replacing objectValueForTableColumn method with 
>> viewForTableColumn  in my custom class which is  both source and delegate, 
>> viewForTableColumn method doesnt gets called to display data.
>>
>>        Other delegate methods for eg shouldSelectRow gets called, but 
>> viewForTableColumn delegate method does not get called when displaying the 
>> table.
>>
>> Is there anything I am missing?
>
> I believe, unless something has changed recently and I didn’t notice, GNUstep 
> does not yet support view-based NSTableViews, only the older cell-based 
> versions.
>
> David
>
>
> _______________________________________________
> Discuss-gnustep mailing list
> Discuss-gnustep@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnustep



-- 
Gregory Casamento
GNUstep Lead Developer / OLC, Principal Consultant
http://www.gnustep.org - http://heronsperch.blogspot.com
http://ind.ie/phoenix/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]