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
24
votes
2 answers
How to populate a TableView that is defined in an fxml file that is designed in JavaFx Scene Builder
I would like to know how do I populate a TableView with data... All the examples I have seen creates a TableView with columns and everything and add it to the scene. All done in the java code itself.
What I want to know: if I design my "form" in…

cp5
- 1,087
- 6
- 26
- 58
23
votes
4 answers
How to clear all rows from a TableLayout?
I know that this has already been asked before, but none of the other responses have helped me, so I'll ask myself...
I am trying to delete all my existing rows from a TableLayout because I want the user to be able to update the table dynamically.…

Fran Fitzpatrick
- 17,902
- 15
- 33
- 34
23
votes
2 answers
Today Widget tableView freezes
I have a today widget that contains two things:
A UILabel
A UITableView
In my viewWillAppearI set the label to be visible and my tableView to be hidden and I set the label text to "Loading". See image below.
Then I get a location and when this is…
user5700760
23
votes
6 answers
TableView: adjust number of visible rows
I'm using this table to display data in Table View:
import javafx.application.Application;
import javafx.beans.property.IntegerProperty;
import javafx.beans.property.SimpleIntegerProperty;
import javafx.beans.property.SimpleStringProperty;
import…

user1285928
- 1,328
- 29
- 98
- 147
23
votes
7 answers
Clicking Event in UITableView
I have a button and Table. Now I want to click in such way that Whenever I select any row in tableview and press the button, that particular button press event would happen. For that, firstly I have give tag to each row i.e
- (UITableViewCell…

Christien
- 1,213
- 4
- 18
- 32
22
votes
6 answers
How do you change the colour of a section title in a tableview?
Here is what I have at the moment.
How do I refer to this so that I can change the text colour to match my index list? The sectionForSectionIndexTitle worked well for adding in the correct section title but how exactly does one access the title…

AMAN77
- 6,218
- 9
- 45
- 60
22
votes
1 answer
How can I add a top margin to my tableview in Xcode?
I'm trying to add an image on the very top of the first cell of a table view. How can i make the table view have a top margin? Right now, the image is just overlapping the tableview. I am trying to just get the table view to come down a little bit.…

Larry Navarro
- 243
- 1
- 2
- 6
22
votes
7 answers
(Swift) Storing and retrieving Array to NSUserDefaults
I am trying to store an array to NSUserDefaults and retrieve the array when needed to populate a UITableView.
Currently I am using:
//store data
NSUserDefaults.standardUserDefaults().setObject(myArray, forKey: "\(identity.text!)listA") …

William Larson
- 593
- 3
- 8
- 16
22
votes
7 answers
UIRefreshControl endRefreshing is not smooth
When my data has finished loading and my tableView has been reloaded, I call endRefreshing on my refresh control, it then 'jumps' from its loading state and disappears - how can I implement a smooth animation that slides the refresh control away…

Halpo
- 2,982
- 3
- 25
- 54
21
votes
1 answer
how to update data in tableview (Swift)
I have two Swift files: NotificationsViewController and ViewController.
The firstArray is updated in the ViewContoller when a button is tapped. I was able to print the updated data. However, when I switch back to NotificationsViewController the…

Jana
- 225
- 1
- 3
- 7
21
votes
1 answer
Can't view the Tableviewrow while clicking the TableViewSection in titanium mobile application
I have developed one application based a below tree structure:
Default :
Category
Category
Category
While clicking the category :
Category
Sub Category
Product
Category
Category
Some times:
Category
Category
Product
Category
Here i…

Krishna Veni
- 2,217
- 8
- 27
- 53
21
votes
1 answer
JavaFX - Adapt TableView height to number of rows
I want my TableView's height to adapt to the number of filled rows, so that it never shows any empty rows. In other words, the height of the TableView should not go beyond the last filled row. How do I do this?

Just some guy
- 1,909
- 4
- 21
- 32
21
votes
5 answers
TableView ScrollBar Policy
Is there a way to change the policy of a ScrollBar in a TableView similar to a ScrollPane? I've only seen that the VirtualFlow of a TableView computes the visibility, but no possibility for manual interference.
I need the vertical scrollbar to be…

Roland
- 18,114
- 12
- 62
- 93
20
votes
6 answers
UITableview Scrolls to Top on Reload
I am facing problem in my app - you can post and edit your favorite places. After posting a post, or editing a specific post (UITableViewCell), UITableview is reloaded.
My problem is: the UITableview scrolls to the top after reloading. But that's…

debbiedowner
- 338
- 1
- 3
- 11
20
votes
4 answers
Send data from TableView to DetailView Swift
I'm trying to do maybe one of the simplest and more confusing things for me until now
I wanna develop my own App , and in order to do it I need to be able to passing some information depending of which row user click (it's Swift lenguage)
We have a…

FactorJose
- 471
- 2
- 6
- 14