hi ,
I have added a table as subview to mainview and added UITableViewDelegate to respond the events and made it's delegat to self
it is working fine and data also loading
But i want to select first row as Default select and should be highlighted
i know code to select first row
that is
NSIndexPath *ip=[NSIndexPath indexPathForRow:0 inSection:0]
[tblview selectRowAtInedexpath:ip ..............];
But where i will have to write this code
PLZ help me
I have added a table as subview to mainview and added UITableViewDelegate to respond the events and made it's delegat to self
it is working fine and data also loading
But i want to select first row as Default select and should be highlighted
i know code to select first row
that is
NSIndexPath *ip=[NSIndexPath indexPathForRow:0 inSection:0]
[tblview selectRowAtInedexpath:ip ..............];
But where i will have to write this code
PLZ help me