Changing the format of NSTableColumn built using Core Data Entity ?

  • HI - I have what seems a silly question, but I can't seem to find an
    answer. I have a window in IB which contains a 'Core Data Entity'
    table view. This pre-built table has a number of columns, some
    contained strings and some containing integers. What I want to do is
    change the binding of one of the integer columns to bind to a string
    instead.

    The problem is that I can change the binding OK, but how do I change
    the format of the column from integer to string ? When I bind the
    column to a string value I get either blank or zero as the cell
    contents. I know the binding changes work OK because I can bind to a
    different integer value no problem.

    Where on earth do I change the format of these prebuilt table columns
    using Interface Builder ?

    Thanks
  • On Mar 3, 2008, at 12:51, Martin Linklater wrote:

    > HI - I have what seems a silly question, but I can't seem to find an
    > answer. I have a window in IB which contains a 'Core Data Entity'
    > table view. This pre-built table has a number of columns, some
    > contained strings and some containing integers. What I want to do is
    > change the binding of one of the integer columns to bind to a string
    > instead.
    >
    > The problem is that I can change the binding OK, but how do I change
    > the format of the column from integer to string ? When I bind the
    > column to a string value I get either blank or zero as the cell
    > contents. I know the binding changes work OK because I can bind to a
    > different integer value no problem.
    >
    > Where on earth do I change the format of these prebuilt table
    > columns using Interface Builder ?

    Select the table column (which takes 3 clicks if you're starting at
    the top level). Click again to select the table column cell. You
    should see a little circle that represents the formatter. Click on the
    circle to select it and press Delete to remove it.
  • On 3 Mar 2008, at 21:10, Quincey Morris wrote:
    >
    > Select the table column (which takes 3 clicks if you're starting at
    > the top level). Click again to select the table column cell. You
    > should see a little circle that represents the formatter. Click on
    > the circle to select it and press Delete to remove it.

    No matter what I select I don't get the formatter circle. I've seen
    formatter circles before, so know what they look like. Is there
    something special about these auto-generated Core Data tables that
    stops what you describe working ?

    Thanks


  • >
    > No matter what I select I don't get the formatter circle. I've seen
    > formatter circles before, so know what they look like. Is there
    > something special about these auto-generated Core Data tables that
    > stops what you describe working ?

    My apologies - I seem to have found it now. Thank you very much.
previous month march 2008 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
31            
Go to today