how to add/remove button to a cell in tableview
how to add/remove button to a cell in tableview
- Subject: how to add/remove button to a cell in tableview
- From: Abhijeet Singh <email@hidden>
- Date: Tue, 03 May 2011 17:34:46 +0530
Hi,There are four columns in my table view. The last column is empty. At run time I want to add a button to the last column depending upon a condition. If a condition is true for a row, button should be added (appeared) to the last column of the row. If condition is not true any more for a row the button should be removed from the last column of the row. I have used (NSCell *tableView:(NSTableView *)tableView dataCellForTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)rowIt adds the button but i am not able to remove it from the cell. Thanks & RegardsAbhijeetDear macosxdev ! Get Yourself a cool, short @in.com Email ID now! Dear macosxdev ! Get Yourself a cool, short @in.com Email ID now! Dear 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