Hi,
I’d be very happy if somebody could point me to an example of an editable
NSTableView set up programmatically.
I searched the web, looked into TableViewPlayground etc. but could not come up
with anything.
I’d actually prefer to use bindings, but my first column should simply display
the
On Jan 7, 2014, at 7:52 AM, Peter magn...@web.de wrote:
I’d be very happy if somebody could point me to an example of an editable
NSTableView set up programmatically.
It sounds like you just mean using a custom data source rather than relying on
bindings to provide the data? That’s very
Am 07.01.2014 um 17:32 schrieb Jens Alfke j...@mooseyard.com:
On Jan 7, 2014, at 7:52 AM, Peter magn...@web.de wrote:
I’d be very happy if somebody could point me to an example of an editable
NSTableView set up programmatically.
It sounds like you just mean using a custom data source
On Jan 7, 2014, at 9:40 AM, Peter wrote:
Am 07.01.2014 um 17:32 schrieb Jens Alfke j...@mooseyard.com:
On Jan 7, 2014, at 7:52 AM, Peter magn...@web.de wrote:
I’d be very happy if somebody could point me to an example of an editable
NSTableView set up programmatically.
It sounds
Thank you for your comment.
Did you really manage to create *editable* view-based table views with data
sources?
Then I am curious to know how you managed to make them editable.
A data source method channeling data from the table view to the data source is
nowhere to be seen.
-
On Jan 7, 2014, at 1:38 PM, Peter wrote:
Thank you for your comment.
Did you really manage to create *editable* view-based table views with data
sources?
Yes.
Then I am curious to know how you managed to make them editable.
The issue here is simply how to communicate edits to your model
Am 07.01.2014 um 23:16 schrieb Keary Suska cocoa-...@esoteritech.com:
On Jan 7, 2014, at 1:38 PM, Peter wrote:
Thank you for your comment.
Did you really manage to create *editable* view-based table views with data
sources?
Yes.
Then I am curious to know how you managed to make
On Jan 7, 2014, at 14:27 , Peter magn...@web.de wrote:
OK, thanks for the pointers. This confirms my suspicion that (a) there is no
simple way to do it (as in cell based tables) and (b) that view based tables,
despite some obvious advantages, are not to be considered to be the Holy
Grail
Op 7 jan 2014, om 16:52 heeft Peter het volgende geschreven:
I’d actually prefer to use bindings, but my first column should simply
display the row numbers
After some experimenting I managed to create a simple editable view based table
view with row numbers, using bindings except for the
Great! Yes, this helps immensely. Thank you very much!
It didn’t occur to me that it is possible to mix the bindings and data source
approaches.
In order not to waste more time and get my job done, I took resort to a double
click method copying the data to be edited to an NSTextField, whose
To clarify: this isn't mixing approaches. Willeke isn't using any datasource
methods at all.
tableView:viewForTableColumn:row: is a delegate method. The *only* datasource
method view-based table views support is the objectValue getter, which simply
sets the objectValue property on the view
11 matches
Mail list logo