uitableview

JQuery: table parser and CSS change

I have a table in the following format: <table id="searchResultTable"> <tr> <th>List</th> </tr> <tr onMouseOver="activeTr(this)" onMouseOut="inactiveTr(this)" onClick="showDetails(TODO)"> <td><a href="javascript: void(0)">AAA</a></td> </tr> <tr onMouseOver="activeTr(this)" onMouseOut="inactiveTr(this)" onClick="showDetail...

UITableView's reloadData isn't resorting the cells

I have a UITableView that implements NSFetchedResultsControllerDelegate. When I tap a cell, I load another viewcontroller which allows me to edit an entity represented by the tablecells. When I'm done editing, it sends a message to the UITableViewController which does a [self.tableview reloadData]; My problem is that reloadData doesn'...

How to resize a UITableViewCell's accessoryView based on size of cell?

Is it possible for a UITableViewCell's accessory view to be sized based on the size of the UITableViewCell that owns it? How can I achieve this? ...

Can I stop a UITableViewCell from shrinking when I enter edit mode?

When you enter edit mode for a UITableView (grouped but I believe this applies for the other types as well), the cells shrink to the right to accommodate the delete selection buttons. For cells that I dont wish to add/insert/delete any content, is there anyway to stop this behavior? ie. the width remains fixed. I've tried setting access...

Using custom sections with NSFetchedResultsController?

I'm making a sectioned table with fetched results, but am having a hard time getting custom sections worked out. Normally one would just have an attribute to sort by, and use sectionNameKeyPath: to generate the sections. But my sorting attribute is calculated on the fly, and I can't seem to get the fetchedResultsController to use it cor...

Unable to delete rows in table using Three20

I've got a button that toggles setEditing on a TTTableView. Previously I'd been using a "regular" UITableView and the following method to actually delete the data, but I don't see anything similar in the Three20 classes and using my method doesn't get called when the delete button is pressed on a row. (void)tableView:(UITableView *)tab...

Resize cells when rotating UITableView

I have a tableview that occupies only the bottom third of my view. I rotate it 90 degrees using CGAffineTransform and resize it: [UIView beginAnimations:@"rotate" context:nil]; CGRect oldFrame = self.table.frame; CGPoint oldCentre = self.table.center; // Swap the width and height self.table.frame = CGRectMake(0.0, 0.0, oldFrame.size.he...

[iPhone] Performance issues of grouped UITableView on Device

Hey guys, I am quite new to iPhone development but I am trying to build a small medical app. The app consists of tab bar controller and in the first item is a navigation controller and a grouped UITableView. The problem is that scrolling the table on my iPhone 3G is pretty slow. It is not so smooth like in the Settings app. The perform...

UITableView doesn't scroll when number of items is less than scrollable limit

I've a UITableView and I populate data from a service. When the number of rows is higher than what could be displayed on the screen, I'm able to scroll the table. But when it's less (say 1 or 2), I'm unable to scroll (in the sense, the bouce effect doesn't work making the UI appear odd). I think this should be fixed by some IB checkbox,...

Parent UIScrollview taking precedence over Modal UITableView upon scrolling

I have a main UIScrollView to scroll images - when the user clicks on an image, I'm pushing a new UITableView to display data for that image, etc. I'm doing it with: [self presentModalViewController:controllerTableView animated:YES]; The data in the table view display fine, etc and I can select a cell to even get more details, etc (u...

sectioned uitableview with sqlite

Hi All, Does anyone know how to create a sectioned Uitableview using sqlite to populate it? I have sqlite database setup, I just cannot figure out how to make sure the correct rows appear in their correct sections. Also, each row/record has multiple fields. For example, lets say it's a list of cars that are sectioned by manufacturer. ...

possible to center my image without it scrolling along or being placed at the top

Does anyone know if it's possible to center my image when using a navigationController. With this I mean the following. When I click on a cell everything is fine ( figure 1 ) figure 1. step 1 img441.imageshack.us/img441/5026/picture5t.png step 2 img70.imageshack.us/img70/3998/picture6a.png I go back and want to click another cell ,...

going to the top in UITableview doesn't work the second time

Hello all , I have a question concerning the following issue. I would like to return to the top of my tableview everytime I press a cell This is a piece of the code that does it. - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { .... ... ... [self.tableView setContentOffset:CGP...

iphone sdk delegate failed to return after waiting 10 seconds in table view loading huge data from database

SendDelegateMessage: delegate failed to return after waiting 10 seconds. main run loop mode: kCFRunLoopDefaultMode If you were not using the touch screen for this entire interval (which can prolong this wait), please file a bug. - (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath { /* ...

2 different types of custom UITableViewCells in UITableView

hello, in my UITableView i want to set for the first news of an rss feed a custom tableViewCell(Type A lets say) and for the other news second, third etc.. another custom tableViewCell(trype B) the problem is that the custom tableViewCell(trype A) created for the first news is reused, but curiously the number of rows between the first us...

tableView's commitEditingStyle and knowing when the 'Done' button is tapped

My controller inherits from UITableViewController with the left button assigned to 'editButtonItem'. How can I find out when the user has tapped the "Done" button after issuing all of the deletes they want? self.navigationItem.leftBarButtonItem = self.editButtonItem; I'm implementing - (void)tableView:(UITableView *)tableView commitE...

Content of custom table view cells not drawing correctly

I have several parts in my app where I use custom table view cells. Their content is created with subviews. The problem is that on some of these cells, the content does not appear at all or does not appear correctly until after the cell was selected for the first time. One example is a custom cell which has a custom subview which can...

iPhone Device 3.1 SDK Breaks vertical alignment of UITableViewCellStyleValue1 textLabel

Can anyone provide an explanation for the following phenomenon? As of the iPhone Device 3.1 SDK, I've found that if a UITableViewCell is of style UITableViewCellStyleValue1 and its detailTextLabel.text is unassigned, then the textLabel does not display in the center of the cell as would be expected. One notable caveat is that this only...

Changing border color in iPhone UITableView cells (non-grouped)

I've read (and used) the code here which illustrates how to change the background color and border color of a UITableViewCell in grouped mode on the iPhone. I'm writing an app now which has a non-grouped UITableView and I need to change the border color of the cells. I know that I can modify the code and create a new background view an...

Dynamic UIImage Content Loading in UITableView code?

im trying to get a tutorial/sample code on how to dynamic download uiimage in uitableview. Just like native iTunes App loading artwork dynamically. its also called "lazy loading" I have been searching it online for a while. The only sample code that is available is: http://kosmaczewski.net/2009/03/08/asynchronous-loading-of-images...