Questions tagged [custom-cell]

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

759 questions
4
votes
2 answers

CollectionView window stays in black

I am writing iOS app. I have CollectionView window and inside it one customCell added by dragging and dropping in. When I run the app that part of CollectionView window is black. Collection reusable view identifier is set to 'ItemCell'. Custom View…
uml
  • 1,171
  • 4
  • 16
  • 28
3
votes
0 answers

Custom cell formatting in Excel for continuous values in 4 discretised value ranges

The following initial situation: I have numerical values in an Excel column. However, I would like to reformat them so that the possible range of values is discretised into 4 sub-ranges and a text is output instead of the concrete value. Only in the…
3
votes
1 answer

Loading Custom Table-View Cells From Nib Files

I am currently working though an example in the apple documents but am having a little trouble finding some of the things they are talking about, in particular inside A Closer Look at Table-View Cells > Loading Custom Table-View Cells From Nib…
C.Johns
  • 10,185
  • 20
  • 102
  • 156
3
votes
5 answers

How to fill tableview with two arrays using single custom cell?

I want to display two array values in tableview using single cell. Suppose i have two array and both contains same no of elements. FirstArray and SecondArray. there is two label in tableview cell Lbl1 and Lbl2, now Lbl1 should fill with FirstArray…
PUJA SINGH
  • 45
  • 1
  • 7
3
votes
1 answer

C# 4 - DataGridView with proper ProgressBar control

I need to display a progress bar in a DataGridView. I've searched around and I've found many (many, many, ...) implementations that basically render a progress bar by drawing it into the cell. Isn't there a way to use a…
Ben
  • 20,737
  • 12
  • 71
  • 115
3
votes
5 answers

UITableView Custom Cell very slow

I have a UITableView and I have created a custom cell to display my table. I have 6 UILables displayed and although I have only 20 records to show, it is very slow when I scroll. This is how my - tableView: cellForRowAtIndexPath: looks like: -…
CristiC
  • 22,068
  • 12
  • 57
  • 89
3
votes
1 answer

The voice Over reads the Label's text twice

I'm working on making my app accessible for blind people by using the Voice over. I have tableView that contains custom cell with 4 UILabel and Custom HeaderView that has one UILabel as well. My issue that the voice over reads the UIlabel's text…
Shady Mostafa
  • 815
  • 10
  • 15
3
votes
3 answers

Host custom controls on DataGridView which populate data from DataTable

I have a DataGridView, which I populate data for automatically, as per the following: MySqlDataAdapter adapter = new MySqlDataAdapter(query, connString); DataTable table = new DataTable(); table.Locale =…
Jack
  • 16,276
  • 55
  • 159
  • 284
3
votes
1 answer

UITableView custom cell - How to keep cornerRadius in edit mode

I implemented a tableview with custom cells. The cells have their cornerRadius set to 2. Everything displays just fine until I enter edit mode. When the delete button appears, it's corner radius is 0. How can I make the delete button have a…
MikeB
  • 1,619
  • 2
  • 15
  • 27
3
votes
3 answers

PrepareForSegue from a UIButton in a custom prototype cell

As the title say I have a tableView with prototype cell; cell is a custom cell (so I made a class called CustomCell.swift in witch I created the IBOutlet for image, label, button etc); here my class import UIKit class CustomCell: UITableViewCell { …
Fabio Cenni
  • 841
  • 3
  • 16
  • 30
3
votes
2 answers

Calculating dynamically the height of a custom UITableViewCell

I am building a application without the IB and I am writing everything from scratch. I have a custom UITableViewCell and when I try to calculate the height, it behaves like there are no subviews. I could find a lot of discussion about dynamically…
3
votes
3 answers

When i try to apply "Font" to one tableview cell it automatically apply to other cells when scroll tableview

I have a custom tableview. I need to set Bold Italic (Helvetica-BoldOblique) font to only cell.But when it scroll the tableview it also apply to other cells one by one.How to solve this? func applyFontToTableviewCell() { var couIn =…
Lydia
  • 2,017
  • 2
  • 18
  • 34
3
votes
1 answer

Provide different TreeCell conditionally in CellFactory

I have a treeview in which the cells must display different information according to the real implementation of the TreeItem's value. My domain model looks like: It seemed natural to me to split the behaviour of "how to display a Task in a cell" or…
Spotted
  • 4,021
  • 17
  • 33
3
votes
6 answers

Tableview selection hides my button within the tableview cell

There is another question with same logic.UITableViewCell subview disappears when cell is selected i did not get correct solution which i want.They suggest to subclass view like that.But i need display button within the cell itself. Lets come to my…
Lydia
  • 2,017
  • 2
  • 18
  • 34
3
votes
1 answer

How to make use of cell reuse in UITableViewSource in Xamarin?

I have UITableViewSource class which is used for the UISearchDisplayController. In my main table view I have a custom cell which works fine. Now I want to use the custom cell also for the table view of the search results. But I only manage it to…
testing
  • 19,681
  • 50
  • 236
  • 417