Re: Model Key path for @sum of attribute of related entity
Re: Model Key path for @sum of attribute of related entity
- Subject: Re: Model Key path for @sum of attribute of related entity
- From: Stefan <email@hidden>
- Date: Tue, 8 Aug 2006 01:02:52 +0200
Forgot this: 'email@hidden' is the Model Key Path of a NSTableView
column's value binding.
The mentioned messages appears only once, when I open the respective
window
first. The table gets not filled.
If I resize the window - and thus the embedded NSTableView - the
table updates is data fine. Each sum of all referenced 'tr' entities
gets calculated.
Am 07.08.2006 um 18:39 schrieb Stefan:
How to I get the sum of attribute 'val' of entity 'tr' related to
entity 'ac'.
'ac' relates to 'tr' using the attribute 'ac2tr'.
Using 'arrangedObjects' for an 'ac' NSArrayController, I tried
email@hidden
and got this error message:
[<_NSFaultingMutableSet 0x3c42e0>
addObserver:forKeyPath:options:context:]
is not supported. Key path: @sum. val
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden