How to set focus on editable table view cell on Enter key press

"Abhijeet Singh" <[email protected]> Wed, 05 Jan 2011 13:05:08 +0530
Newsgroups gmane.comp.macosx.devel
Message-ID <[email protected]>
Hi,I have a table view in my application. Table view has 3 columns. Items (rows) in table view are added on Enter (return) key press on keyboard. Column no 2 is editable and user needs to fill it. What I want to achieve is when user press Enter key on key board:1. New row is added in table view with column 1 & 3 filled (by default)2. Column 2 cell should be in edit mode and ready to accept the user input I have done the first step (1) but i am not able to set the focus on column2 cell and make it editable on Enter key press.One more thing that i want to do is on Delete key press on keyboard the selected row in table view should be deleted. I can do it by putting a button on screen and connecting it with Delete key but i don't want to use a button on my screen.Any help will be appreciated.Thanks & RegardsAbhijeetGet Yourself a cool, short @in.com Email ID now!