A table view is a means for displaying and editing hierarchical lists of information. For example: UITableView in Cocoa Touch.
Questions tagged [tableview]
7929 questions
20
votes
5 answers
javafx, TableView: detect a doubleclick on a cell
Given a TableView, i need to detect the doubleclick on a cell.
tableView.setOnMouseClicked(new EventHandler()
{
@Override
public void handle(MouseEvent event)
{
if(event.getClickCount()>1)
{
…

AgostinoX
- 7,477
- 20
- 77
- 137
18
votes
6 answers
What is the default TableView section header background color on the iPhone?
I want to customize TableView section header and to leave default background color. I use - (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section. I need to change font size depending on device (iPad or iPhone). For…

Igor
- 4,235
- 3
- 34
- 32
18
votes
5 answers
UITableView didSelectRowAtIndexPath called twice
Under certain circumstances, UITableView didSelectRowAtIndexPath is being called twice causing the error Pushing the same view controller instance more than once is not supported.
Here's are the sequence of…

ED.
- 231
- 2
- 4
18
votes
3 answers
tableview image content selection color
My app has a tableview with an image and a textfield:
image = image render as template image (light grey)
textfield = text color black
If I select a row, the color of both will change perfectly to white
Question - I change the image to a blue…

Trombone0904
- 4,132
- 8
- 51
- 104
18
votes
2 answers
TableView search in Swift
I have two arrays: FirstTableArray (include name of brands) and SecondTableArray (include models).
I want to add search through which the model of phone can be found by part of name.
import UIKit
import MessageUI
class FirstTableViewController:…

user6023982
- 413
- 1
- 5
- 15
18
votes
4 answers
TableView rounded corners and shadow
I have a tableview with three rows. I am trying to make the table rows have rounded corners and also a shadow effect around the entire tableview. For some reason, I cannot make the tableview both have the rounded corners and shadow effect but I…

mitch94
- 236
- 1
- 3
- 11
18
votes
6 answers
Unable to dequeue a cell with identifier Cell - must register a nib or a class for the identifier or connect a prototype cell in a storyboard?
I'm trying to display a TableView of a list of songs in a user's library. I used the code from this tutorial (which uses a storyboard, but I would like to try it a different way and with just a subclass of UITableView).
I get the error:
***…

WunDaii
- 2,322
- 4
- 18
- 26
18
votes
3 answers
Javafx select multiple rows
I'm trying to select multiple rows in JavaFX but I don't want to use keyboard (i.e. SHIFT key) for that. It should be selected after I click on it and when I click on another column it should be selected as well.
I checked some other answers here…

tlq
- 887
- 4
- 10
- 21
18
votes
10 answers
iPhone UITableView : How to remove the spacing between sections in group style table?
I am creating a table view in which there are 10 sections, all having a header view but no cells. So, in short, my table view will display 10 header views only; there will be no cells in any section. Now when I do that there is some space between…

Bharat Jagtap
- 1,692
- 2
- 22
- 35
18
votes
1 answer
Populate a tableview using database in JavaFX
I'm starting to learn javaFX and I need to populate a table with data from my database. I've read a lot of code online, but I haven't found what I was looking for. I read this but I don't know how to implement that last function. I read some other…

Andre
- 617
- 2
- 6
- 10
18
votes
2 answers
Javafx PropertyValueFactory not populating Tableview
This has baffled me for a while now and I cannot seem to get the grasp of it. I'm using Cell Value Factory to populate a simple one column table and it does not populate in the table.
It does and I click the rows that are populated but I do not see…

Nepze Tyson
- 587
- 2
- 7
- 16
18
votes
1 answer
Cannot get border to differ from side-to-side or up-and-down in TableCell javafx 2
I am trying to create a schedule interface within javafx 2+, and I am having trouble getting the TableView to contain TableCells that look like conjoined components.
The first thing that I tried was to use background colors and borders, however, I…

user1352550
- 181
- 1
- 1
- 3
17
votes
4 answers
Reload Table view cell with animation (Swift)
Is there a way to reload specific UITableView cells with multiple sections with animations?
I've been using:
self.TheTableView.reloadSections(NSIndexSet(index: 1), withRowAnimation: UITableViewRowAnimation.Right)
This animates all the cells in…

William Larson
- 593
- 3
- 8
- 16
17
votes
4 answers
TableView doesn't commit values on focus lost event
I'd like to create a table with the following features:
Edit on key press
Enter key = next row
Tab key = next column
Escape key = cancel edit
Below is a code which implements these features. The values should be committed on focus lost. Problem:…

Roland
- 18,114
- 12
- 62
- 93
17
votes
2 answers
add additional buttons in UITableView swipe
Currently I am using NSFetchedResultsController to handle tableviews.
I am wondering is there any way to add additional buttons like the delete button in swipe operation?
I am thinking about to subclass it. But find nothing relevant in help docs to…

AlexWei
- 1,093
- 2
- 8
- 32