Problem with bindings/tableView/NSImageCell

  • All,

    I'm pretty good with bindings but I've come across a strange problem.
    I have an NSTableView that's connected to an NSArrayController and
    the table's columns are bound through the controller. One of my table
    columns is supposed to display an image and I've done what the docs
    suggest: I've dragged an NSImageCell to the image column's header
    cell, and I can verify that it "took." Now, my understanding is that
    the bindings for the table column are supposed to reveal some more
    options in the Value category on the NSTableColumn's Bindings pane --
    specifically, I'm supposed to be seeing the same value bindings as
    those for an NSImageView. This is not happening.

    Can anyone provide some suggestions for how to make the value
    bindings for the table column to show the value bindings for
    NSImageView?

    Glenn Zelniker
  • on 9/12/07 11:15 AM, <glennz...> purportedly said:

    > I'm pretty good with bindings but I've come across a strange problem.
    > I have an NSTableView that's connected to an NSArrayController and
    > the table's columns are bound through the controller. One of my table
    > columns is supposed to display an image and I've done what the docs
    > suggest: I've dragged an NSImageCell to the image column's header
    > cell, and I can verify that it "took." Now, my understanding is that
    > the bindings for the table column are supposed to reveal some more
    > options in the Value category on the NSTableColumn's Bindings pane --
    > specifically, I'm supposed to be seeing the same value bindings as
    > those for an NSImageView. This is not happening.
    >
    > Can anyone provide some suggestions for how to make the value
    > bindings for the table column to show the value bindings for
    > NSImageView?

    There is a kind of bug in IB where, if you have a column binding, and then
    you change the data cell, the bindings pane doesn't update properly. If you
    click on the "triangle" in the header cell, the bindings should appear. If
    they don't, revert to the default data cell and remove all bindings before
    changing the data cell type.

    Hope this helps,

    Keary Suska
    Esoteritech, Inc.
    "Demystifying technology for your home or business"
previous month september 2007 next month
MTWTFSS
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
Go to today