I have table of 15 rows, when i click a button on toolbar i need to apply the checkmarks on all the 15cells at a time. Can somebody help i need it urgently.....
views:
54answers:
1
+2
A:
This is very similar to my response to one of your past questions:
for (i = 0; i < [tableView numberOfSections]; i++) {
for (j = 0; j < [tableView numberOfRowsInSection:i]; j++) {
indexPath.row = j;
indexPath.section = i;
// set checkmark.
}
}
Alternatively, you can set a check n the data model and then reload the UITableView to display the data along with the checkmark.
mahboudz
2009-10-12 07:46:13