How to set focus on table view's editable cell on Enter key press
How to set focus on table view's editable cell on Enter key press
- Subject: How to set focus on table view's editable cell on Enter key press
- From: "Abhijeet Singh" <email@hidden>
- Date: Wed, 05 Jan 2011 13:02:55 +0530
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 & RegardsAbhijeetDear cocoadev ! Get Yourself a cool, short @in.com Email ID now!
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden