PDA

View Full Version : removing a particular cell or group of cells from an NSTable




Chirone
Jun 24, 2009, 11:30 PM
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?



kainjow
Jun 25, 2009, 12:37 AM
I think you might want an NSMatrix instead. NSTableViews don't really work like this.

Chirone
Jun 28, 2009, 05:55 PM
hmmm, i thought as much. thanks for the tip