Questions tagged [custom-cell]

A custom cell is a unique, personalized or subclassed version of some generic cell type.

759 questions
0
votes
2 answers

Not Able to update the UIButton Title on Custom Cell

I am using Custom Cell for UITableView and there is a UIButton on it. I want to toggle the title of the Button whenever is touched. in cellForRowAtIndexPath I am doing - (UITableViewCell *)tableView:(UITableView *)tableView…
Atul
  • 143
  • 10
0
votes
1 answer

How to show the select arrow image on selected cell in iphone

I have tableView with custom cell that is working fine but when I select the button it shows selected image other wise simple box image . problem: when i select any cell it also selets any other cell and shows that cell button image selected.Here is…
Aijaz Ali
  • 353
  • 2
  • 6
  • 17
0
votes
1 answer

Delete dynamic cell in GetCell method

I am trying trying to remove a cell from the UITableView if the image for the cell is a bad image. Basically my code does a threadPool call for each cell's image to make the flow of binding the data as a user scroll smooth as so inside the GetCell…
Jake
  • 1,332
  • 5
  • 23
  • 35
0
votes
1 answer

How to delete particular cell and row from sqlite in ios sdk

Here is what I've implemented cellforRowAtIndexPath method - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath; { static NSString *cellIdentifier=@"myCell"; CustomTableCell…
Vibhs
  • 1
  • 4
0
votes
1 answer

Why when I change a TextField in a custom cell, another text Field in another cell is changed

I have a TableView with custom cell in each cell I have a text field, when I change the value of the textField, another text field in another cell is changed. Exemple : I changed the value in cell 0, cell 8 has also changed tableView…
Aladin Lazhar
  • 33
  • 1
  • 5
0
votes
1 answer

Keep constant value for label in custom cell when the view reloaded, change value when action occurs second time change label value?

This question may be asked different manner but my condition is another way so before setting duplicate check this. From root view i am calling right view, right view have some options when i press one row the custom cell label value should change…
Yohan
  • 1,108
  • 9
  • 21
0
votes
1 answer

UITableViewCell viewWithTag get frame of UIView trouble

I added an UIView to the custom cell in UITableView in storyboard and I access it like this: UIView *customView = (UIView *)[cell viewWithTag:CELL_CUSTOM_VIEW_TAG]; NSLog(@"%f", customView.frame.size.width); But I get its width 0.0000. Am I…
Alick Dikan
  • 65
  • 2
  • 3
  • 10
0
votes
1 answer

Adding last row cell (that is not part of sqlite table) on tableView

I have this issue on adding a last cell row to my tableView. Can someone please tell me what's wrong with my code as the last row appears but it also appears elsewhere when the table is scrolled down. Any help will be greatly appreciated, Thank you.…
Marco
  • 1
  • 2
0
votes
3 answers

How to design custom cell row wise individually in ios?

Could any one help me? Am working on expanding cell for the past one week Finally i can able to add sub menu in it. I designed two custom cells and using plist i added menu and sub menu to that. It is working well i added menu and sub menu. Now my…
IamDev
  • 299
  • 4
  • 17
0
votes
4 answers

CustomCell: unable to show data on main view

i made a custom cell having a label and an imageView, the custom cell cell has a class customCellClass with an identifier CustomTableCell. this is the result screen shot, no data has been passed but the custom table appears as u can see this is…
Ace Munim
  • 325
  • 3
  • 18
0
votes
1 answer

Changing height dynamic for Table Rows , CustomCell and Layout

There is a custom cell. In it there is two labels. One of them called nameLabel's height has to change dynamically. It can be 1,2 or 3 lines sometimes. But the rows are on eachother, they cross their own row lines. How can I solve this problem? The…
e.ozmen
  • 269
  • 3
  • 17
0
votes
1 answer

selected row background color not changing in ios

I don't know the reason why the selected row color is not changing in tableview. I created custom cell and applied gradient color to the background of cell and also i wrote code to change the bgcolor using selected background. The problem is if i…
IamDev
  • 299
  • 4
  • 17
0
votes
2 answers

Why is my tableview not scrolling to the requested indexPath?

I have a tableView in my view and all works fine, however each custom cell (ToDoListCell) has a text field which I allow users to edit, updating their data. All good and well, my problem occurs whenever trying to scroll to a cell which is going to…
Ben Toogood
  • 469
  • 4
  • 9
0
votes
0 answers

Positioning dynamic image and text in a custom cell xcode

I am writing an app where people are displayed in a table view. This is the code in PictureListMainTable.m // Get the core data object we need to use to populate this table cell Pictures *currentCell = [pictureListData…
Ids Surrrrr
  • 49
  • 1
  • 6
0
votes
3 answers

2 UITableView with different Custom Cells

I need to use two tableview in a view. Also i need to create these tables with custom cells. I tried something but i could not see even simple string in my table's cell. What's wrong here? Here is my updated code; I have still problems, i am taking…
erdemgc
  • 125
  • 1
  • 9