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
39
votes
6 answers
How to reload tableview from another view controller in swift
When I dismiss a modal view controller I want the tableview to update, I am using the form sheet presentation style on iPad so the viewWillAppear and the viewDidAppear methods will not work

Suneet Tipirneni
- 839
- 1
- 12
- 17
38
votes
13 answers
How to add CheckBox's to a TableView in JavaFX
In my Java Desktop Application I have a TableView in which I want to have a column with CheckBoxes.
I did find where this has been done http://www.jonathangiles.net/javafx/2.0/CellFactories/ but as the download is not available and because I don't…

Dorothy
- 2,842
- 10
- 33
- 46
38
votes
18 answers
UITableViewAlertForLayoutOutsideViewHierarchy error: Warning once only (iOS 13 GM)
I am getting a strange error with iOS13 when performing a Segue and I can't figure out what it means, nor can I find any documentation for this error. The problem is that this seems to cause a lot of lag (a few seconds) until the segue is…

CristianMoisei
- 2,071
- 2
- 22
- 28
36
votes
8 answers
Getting selected item from a JavaFX TableView
How do I get the selected item from a TableView in JavaFX?
I am currently using
ObservableList selectedItems = taview.getSelectionModel().getSelectedItems();
but that does not return me the one selected item in the selection model.

Josejacob99
- 415
- 1
- 4
- 9
36
votes
9 answers
is groupTableViewBackgroundColor deprecated on iOS 6?
I was just testing my app with iOS 6.0 and Xcode 4.5GM and I have set up a view like this:
[self.view setBackgroundColor:[UIColor groupTableViewBackgroundColor]];
So, the view has the same pattern than a common table view.
This works fine on iOS 4…

estemendoza
- 3,023
- 5
- 31
- 51
35
votes
2 answers
How to add button in JavaFX table view
I have searched at Google and Stackoverflow for this and I just don't get the given examples. Can someone please explain it to me.
I want to add a button to the last column of a table view and when it gets clicked it should trigger a listener and…

botenvouwer
- 4,334
- 9
- 46
- 75
33
votes
6 answers
Programmatically change the TableView row appearance
After doing a Oracle tutorial about the TableView, I was wondering if there's a way to programmatically apply different CSS style to the selected TableView row. For example, user selects a certain row, clicks the "Highlight" button and the selected…

E. Normous
- 543
- 2
- 7
- 14
32
votes
16 answers
iOS 7 Custom TableView Is Under TabBar
Im trying port my app to iOS7, but my custom TableViewController is showing the last row (cell) under the TabBar :(
Im searching a lot for it, but i dont find any solution. Can anyone help me?
My Custom Table View class
The error is shown in the…

Paulo Coutinho
- 705
- 1
- 7
- 15
31
votes
3 answers
JavaFX Properties in TableView
I am teaching myself how to work with JavaFX properties within the TableView and am having trouble with some property types. I have an object Person that contains two properties
public class Person {
private final StringProperty firstName;
…

Matt Perry
- 343
- 1
- 3
- 8
30
votes
6 answers
Styling a TableView in CSS (JavaFX)
How can I style the "THIS" point in my TableView?
My CSS Code looks as follows:
*/*
* Empty Stylesheet file.
*/
.root{
-fx-background-color: #262626;
}
.table-view{
-fx-background-color: transparent;
}
.table-view:focused{
…

Chris
- 599
- 3
- 11
- 24
26
votes
4 answers
Is there any way refresh cell's height without reload/reloadRow?
I make a view like imessage, just input text into the bottom text view. I use table view to do this, and the text view in the last cell. when I input long text that more than one line, I need the text view and the cell become tailer. so I need…

ZhouQi
- 531
- 1
- 6
- 16
24
votes
1 answer
UITableView - Better Editing through Binding?
Linked to question: JavaFX 2: Save edit in TableCell
There seems to be allot of plumbing required for to establish an editable tableview - namely trapping all the events for each textField (gained/lost focus, tabbing away from the textField,…

jkaufmann
- 924
- 1
- 8
- 15
24
votes
6 answers
Hide sections of a Static TableView
I've found this tutorial which hides a section of a Static TableView: http://code-ninja.org/blog/2012/02/29/ios-quick-tip-programmatically-hiding-sections-of-a-uitableview-with-static-cells/
It works great but only without modifying it, if I add a…

Matte.Car
- 2,007
- 4
- 23
- 41
24
votes
1 answer
JavaFX 2 TableView : different cell factory depending on the data inside the cell
I am trying to use the table view to render / edit the "key = value" pairs.
So the table is supposed to have two columns : "key" and "value". Key is just a normal string, and value can be anything. My problem is that the data type of the values can…

Petr KOKOREV
- 373
- 1
- 3
- 7
24
votes
5 answers
Need to change the color of table view selection
I need to change the default blue color selection of table view to some custom color. Is there any way to do that. Help me
user169964