NSCombobox in view-based NSTableView problems

437 Views Asked by At

So I had a view based TableView with 3 text columns. TableView is editable and I can tab across columns to edit. I then decided I needed a "type" for each column which could let user select a fixed set of types.

I deleted the NSTextField and replaced it with NSComboBox. I made sure it was Behavior="Editable" in IB and I gave it 3 static values in IB as well. Can't get it to work.

First, nothing shows up in the column. I cannot select it. When I hit <tab> key while editing it just skips over that column to the next column. It's like TableView does not know it's there.

I must be missing something very fundamental. Appreciate any pointers.

0

There are 0 best solutions below