Re: [MonoTouch] [monotouch] how can you pass values between 2 tableviews
I have the same problem that he has, my 2 tables are located in one view controller and i use to pass data by creating a class that will be the handler of my data from database. Now my problem is how to pass those data items. I am done with the UITableViewDelegate and i have used nsiIndexPath. Thank you in advance! :) -- View this message in context: http://monotouch.2284126.n4.nabble.com/monotouch-how-can-you-pass-values-between-2-tableviews-tp4514494p4616623.html Sent from the MonoTouch mailing list archive at Nabble.com. ___ MonoTouch mailing list MonoTouch@lists.ximian.com http://lists.ximian.com/mailman/listinfo/monotouch
Re: [MonoTouch] [monotouch] how can you pass values between 2 tableviews
Hi sibzsangreal, I'm not entirely clear on what exactly you want to do, but what you'll need to do is to implement a UITableViewDelegate for tableview1 and implement the RowSelected() method, where it could use the NSIndexPath into tableview1's data model to extract the data item and then pass it along to tableview2. Hope that helps, Jeff On Thu, Mar 29, 2012 at 1:09 AM, sibzsangreal sibzsangr...@gmail.comwrote: hello sorry noob here- I'm trying to pass the selected value of tableview 1 to tableview2 i only have them in 1 view controller i used Xcode to grab the tableviews and make connections i used mono touch to insert data into the table. I've been trying to use Xcode as they were the only one with tutorials but I'm afraid mixing Xcode with mono touch is disaster.. so I'm gonna ask you guys if you happen to know of a way to pass values. I've tried using a label but i can't get the data out of the table view so its still impossible to me- thanks every one in advance.. -- View this message in context: http://monotouch.2284126.n4.nabble.com/monotouch-how-can-you-pass-values-between-2-tableviews-tp4514494p4514494.html Sent from the MonoTouch mailing list archive at Nabble.com. ___ MonoTouch mailing list MonoTouch@lists.ximian.com http://lists.ximian.com/mailman/listinfo/monotouch ___ MonoTouch mailing list MonoTouch@lists.ximian.com http://lists.ximian.com/mailman/listinfo/monotouch
[MonoTouch] [monotouch] how can you pass values between 2 tableviews
hello sorry noob here- I'm trying to pass the selected value of tableview 1 to tableview2 i only have them in 1 view controller i used Xcode to grab the tableviews and make connections i used mono touch to insert data into the table. I've been trying to use Xcode as they were the only one with tutorials but I'm afraid mixing Xcode with mono touch is disaster.. so I'm gonna ask you guys if you happen to know of a way to pass values. I've tried using a label but i can't get the data out of the table view so its still impossible to me- thanks every one in advance.. -- View this message in context: http://monotouch.2284126.n4.nabble.com/monotouch-how-can-you-pass-values-between-2-tableviews-tp4514494p4514494.html Sent from the MonoTouch mailing list archive at Nabble.com. ___ MonoTouch mailing list MonoTouch@lists.ximian.com http://lists.ximian.com/mailman/listinfo/monotouch