Thanks for the suggestion Quincey - I have just finished implementing an
NSTableColumn subclass which does the observing etc, and is working nicely, but
as you say, it's not the neatest solution. Your idea sounds like an interesting
one to pursue - I could just make up a dummy property that uses
On Jul 18, 2010, at 00:41, Gideon King wrote:
> Thanks for the reply - that sounds similar to what I tried before where I
> hooked in to the dataCellForTableColumn and willDisplayCell methods, but they
> are not updated when the underlying data is changed, which would presumably
> mean that som
Thanks for the reply - that sounds similar to what I tried before where I
hooked in to the dataCellForTableColumn and willDisplayCell methods, but they
are not updated when the underlying data is changed, which would presumably
mean that somewhere I would have to set up KVO for each value that w
On Jul 17, 2010, at 23:21, Gideon King wrote:
> [[resultsTableView
> tableColumnWithIdentifier:@"startDateColumnIdentifier"] bind:@"title"
> toObject:resultsArrayController
> withKeyPath:@"arrangedObjects.topic.taskStartStringForPanel" options:nil];
>
> If the cell for the column is an N
Thanks Quincey - here's the code:
[[resultsTableView
tableColumnWithIdentifier:@"startDateColumnIdentifier"] bind:@"title"
toObject:resultsArrayController
withKeyPath:@"arrangedObjects.topic.taskStartStringForPanel" options:nil];
If the cell for the column is an NSTextFieldCell, and th
On Jul 17, 2010, at 21:45, Gideon King wrote:
> I have some columns in an NSTableView where I need to display NSButtonCells,
> and I need the titles to be dynamic as the underlying data (in coredata)
> changes. I can bind the value to an NSTextFieldCell and it all works just
> fine, but when I
Hi, I'm having trouble doing something I would have thought would be very
simple.
I have some columns in an NSTableView where I need to display NSButtonCells,
and I need the titles to be dynamic as the underlying data (in coredata)
changes. I can bind the value to an NSTextFieldCell and it all