There are 5 columns in my table view.
- Col-1 - Non editable
- Col-2 - NSTextFieldCell (editable)
- Col-3 - NSComboBoxCell (editable)
- Col-4 - NSComboBoxCell (editable)
- Col-5 - NSButtonCell
By default on tab key press the control moves from one editable cell to next editable cell. Only thing I want to change here is when control is in last editable cell i.e. Col-4 and user done with its selection and presses Tab key the control should move down to first editable cell (i.e. Col-2) of next row. I tried to intersect the tab key press using control:textView:doCommandBySelector:
. But I am not able to find out from which editable cell it was invoked.
Can someone point me in the right direction as to how to do this?
Am I maybe using the wrong kind of control? Perhaps something else is more appropriate.
Thanks Abhijeet