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
17
votes
4 answers
Disable row selection in TableView
I have a read-only TableView in JavaFX 8, and I don't want' the users to select rows.
They should still be able to sort the columns and scroll, just not to select any rows.
How can I achieve this?

BioRoy
- 375
- 1
- 3
- 10
17
votes
3 answers
JavaFX Table Cell Editing
I am trying to make a program in Java to manage my bookie accounts. I'm new to java, so I thought I would chose something simple to see how things work. I decided to use a tableview and make the individual cells editable. I've been following this…

Adam.J
- 2,519
- 3
- 14
- 12
16
votes
4 answers
TableViewController doesn't flash scroll indicators even if the table is bigger that the view
I've got a weird problem with a TableViewController.
In the doc it says that a tableViewController deals also with the method
-flashScrollIndicators when the table is "oversized" respect the visible area.
My app consists in 3 nav controller loaded…

Andrea
- 26,120
- 10
- 85
- 131
16
votes
2 answers
JavaFX tableview resize to fit window
I am just trying out JavaFX and am forcing my way into it because it is suppose to be the future. I am trying to create a table with 4 columns. The columns AND THE TABLE should resize to fill the parent pane. I cannot for the life of me get this…

bzanchi
- 163
- 1
- 1
- 5
16
votes
13 answers
No index path for table cell being reused
This started to happen out of the blue. Any ideas: Code:
CUSTOMCLASSNAME (I have replaced the actual class name as it contains the name of the client.)
Initialising my tableView:
[self.tableView registerClass:[CUSTOMCLASSNAME class]…

CW0007007
- 5,681
- 4
- 26
- 31
16
votes
2 answers
TableView has more columns than specified
When using a TableView in JavaFX 2, there seems to be magically one column added instead of resizing the existing ones. Please see the following screenshot.
What I would expect/want: Both column shall have 50% of space, no third (unnamed/empty)…

stefan.at.kotlin
- 15,347
- 38
- 147
- 270
15
votes
3 answers
How to create a tableview (5.12 )with column headers?
I am creating a Table using the new qml tableview (Qt 5.12).
I am able to create a model in C++ and able to populate the model in tabular format along with scrollbar.How do I add column headers to this table?
Code:
import QtQuick 2.12
import…

anuj chauhan
- 163
- 1
- 1
- 6
15
votes
7 answers
How to enable commit on focusLost for TableView/TreeTableView?
Is there any simple approach to let the TreeTableView (or TableView) try to commit values on focus lost?
Unfortunatly I didn't succed with any default-implementations of javafx TableCellFactories, which is why I tried my own TreeTableCell…

crusam
- 6,140
- 6
- 40
- 68
15
votes
1 answer
JavaFX tableview colors
i need create JavaFx TableView with multicolor rows (color1 for low priority, color2 for medium priority etc.). I have created CellFactory
public class TaskCellFactory implements Callback {
@Override
public TableCell…

Olga Semernitskaya
- 203
- 1
- 4
- 8
15
votes
1 answer
SimpleStringProperty and SimpleIntegerProperty TableView JavaFX
So i am trying to learn how to use JavaFx Tableview and i stumpled across this tutorial:
Oracle tableview tutorial
in this tutorial they show that in order to fill you tableView you have to fill it with Strings, but not just any String you have to…

Marc Rasmussen
- 19,771
- 79
- 203
- 364
15
votes
8 answers
Javafx: Re-sorting a column in a TableView
I have a TableView associated to a TreeView. Each time a node in the TreeView is selected, the TableView is refreshed with different data.
I am able to sort any column in the TableView, just pressing the corresponding column header. That works…

betaman
- 1,865
- 5
- 25
- 30
14
votes
2 answers
Label text is not updating in tableview children in titanium android.but work's in IOS
I have tried to update/change the lebel in android using titanium.but the value is not showing on the text .but am getting the updated value in the alert.But the ios is working perfectly.
var itemcounttext = Ti.UI.createLabel({
top: 5,
color:…

Krishna Veni
- 2,217
- 8
- 27
- 53
14
votes
2 answers
JavaFX: bind disable property of a button to ObservableList size
I have a TableView and I would like to bind the disable property of a Button with the size of the ObservableList model of the table. In particular, I would like to disable the button when the size of the ObservableList is grater than 2.
How can I…

Giorgio
- 1,973
- 4
- 36
- 51
13
votes
5 answers
Delete row in table view with fetchedResultController
During swype deleting (most importatnt lines of this method):
- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath
{
if (editingStyle ==…

Nat
- 12,032
- 9
- 56
- 103
13
votes
2 answers
UITableView editing animation duration
Does any one know how long the animation
- (void)setEditing:(BOOL)editing animated:(BOOL)animated;
in the UITableViewCell takes? I´m testing with 0.5 seconds but i´d rather like to use a constant from the Framework somthing like…

volkersfreunde
- 1,095
- 1
- 12
- 22