There are 5 columns in my table view.
- Col-1 - Not Editable
- Col-2 - NSTextFieldCell (editable)
- Col-3 - NSComboBoxCell (editable)
- Col-4 - NSComboBoxCell (editable)
- Col-5 - NSButtonCell
By default, when you press the tab key, the control moves from one editable cell to the next editable cell. The only thing I want to change here is when the control is in the last edited cell, that is, Col-4 and the user with his choice and presses the Tab key, the control should move down to the first edited cell (i.e. Col-2) next line. I tried crossing the tab key press using control:textView:doCommandBySelector: But I canβt find out from which editable cell it was called.
Can someone point me in the right direction how to do this?
Maybe I'm using the wrong control? Perhaps something is even more appropriate.
Thanks Abhijeet
source share