removing a particular cell or group of cells from an NSTable

Discussion in 'Mac Programming' started by Chirone, Jun 24, 2009.

  1. macrumors 6502

    Joined:
    Mar 2, 2009
    Location:
    NZ
    #1
    hi all,

    say i have an NSTableView and there is a cell that i want to remove.
    if that cell is the only cell in the column then the column should be removed too

    i figure i can easily remove a whole column of cells, but not a singular cell or selected cells without removing a whole row.

    is there a thing in IB (not collection view, it wasn't around in 10.4) that could help with this? or is there a way to acheive this with the normal NSTableView?
     
  2. Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #2
    I think you might want an NSMatrix instead. NSTableViews don't really work like this.
     
  3. thread starter macrumors 6502

    Joined:
    Mar 2, 2009
    Location:
    NZ
    #3
    hmmm, i thought as much. thanks for the tip
     

Share This Page