in your DataSource class, implement RowSelected.  Use the indexPath
argument to get the correct element from your data

public override void RowSelected(UITableView tableView, NSIndexPath indexPath)
    {

        // Do something for the selected row

    }


On Wed, Jul 4, 2012 at 6:26 AM, proindigo <[email protected]> wrote:

> Got my code working. data is being shown in nicely formatted manner in my
> uitableview. Now the issue is to handle row selection and fetch the
> corresponding AssessmentID. For reference see the following picture.
>
> http://monotouch.2284126.n4.nabble.com/file/n4655749/assessment_home_showing_logged_in_status_and_enumerated_projects.png
>
>
> Could you please tell me what event gets fired when I select an item from
> my
> table and how to access the AssessmentID [the value that is being shown
> below each project name in each row] for that particular Row? A short
> snippet would be immensely helpful. Look forward eagerly to your reply.
>
> Many Thanks in anticipation.
>
> --
> View this message in context:
> http://monotouch.2284126.n4.nabble.com/UITableView-Scenario-Help-Needed-tp4655680p4655749.html
> Sent from the MonoTouch mailing list archive at Nabble.com.
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch
>
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to