Questions tagged [tableview]

A table view is a means for displaying and editing hierarchical lists of information. For example: UITableView in Cocoa Touch.

7929 questions
1
vote
1 answer

presentModalViewController Problem !

So, I have a form (which is basically a UITableView), and once I finish the form, I click the 'Done' button which is on top of the screen. After clicking, I need to add the data to another tableView (which is in another tableViewController). This…
1
vote
1 answer

Am I implementing the tableviewdatasource correctly to get downloaded data to show?

I am developing a small app to connect to my site, download data via a PHP web service, and display it in a table view. To get started I was following a tutorial over on Medium by Jose Ortiz Costa (Article on Medium). I tweaked his project and got…
Omega636
  • 15
  • 4
1
vote
1 answer

How do I keep my section footer stick at the end of one specific footer in table view swift

I have some sections here and on section 1, I have this footer as an additional information. But it keeps floating around when I scroll the screen. How do I stop that? How do I keep it under the section? I'm using viewForFooterInSection and here's…
Aldo Sugiarto
  • 197
  • 3
  • 20
1
vote
0 answers

Expandable tableView cells font

I am trying to make the title and the sectionData different sized, I would like title bold at least. I have been trying to find a solution but haven't found anything. Any help is greatly appreciated. I have tried to use an using a function which…
1
vote
1 answer

TableView tableColumn width is not considering header when autosizing javafx

Need help to fix the display issue on table view JavaFX. I can't paste full code. but, will try to include maximum. TextField headerTextField = new TextField(); Label label = new Label((String) allColumns[i]); VBox headerGraphic = new…
1
vote
1 answer

How to create a default screen if there are no tableview cells swift

I am trying to make an app that utilizes the Tableview controller to display some cells. However, my question is: is there a way to display a default screen that says something like "No items scanned" when there are no cells in the tableview? I have…
rice888
  • 51
  • 8
1
vote
1 answer

How could I keep keyboard up when tableview cells are tapped?

I am a beginner learning Swift and trying to build a search page with Swift. In my search page of the app, I have added two Views in my storyboard with one View above the other. The upper View contains a Collection View where I have two prototypes…
1
vote
1 answer

Swift: How do I handle a double with two decimal places in a tableView?

I've been trying to work this out for some little while now. I've got a double in my array, but it invariably displays as a rounded integer. var dataArray: [(colorNo: String, colour: NSColor, spares: Double)] = [] Here's the tableView: func…
pastewort
  • 25
  • 3
1
vote
1 answer

why in don't pass value user.username to navigator

class SigninViewController: UIViewController { @IBOutlet weak var usernameTextField: UITextField! @IBOutlet weak var passwordTextField: UITextField! var signinAPIManager: SigninAPIManager? override func viewDidLoad() { …
1
vote
1 answer

How to reloadData after an in app purchase through modalView

I've looked at different sources to find an answer to this and possibly tried several ways to reloadData() but no luck so far. Here is my case: I have a tabBar where I present the content in a tableView. When you go into that tab, I present a modal…
1
vote
1 answer

Async fetching image Firebase Swift 5

I'm using this code in CellForRowAt for showing image. Scrolling is smoothly but network debug says me that it still download image every time that i scroll the table. How can I work for download all the images once? if let url = URL( string:…
1
vote
2 answers

Dynamically update an ImageView in a tableview section

I have a table view with 2 (or more) sections. I have added an ImageView into it and need to change the image view according the values which are containing in an array at the beginning and when selecting/deselecting a cell. I created the view as…
codebot
  • 2,540
  • 3
  • 38
  • 89
1
vote
0 answers

Retrieve Firebase Data from ChildbyAutoID Swift

I am saving data in swift, to a realtime firebase database using the following code: guard let key = dbreference.child(("user-clients")).childByAutoId().key else { return } let post = ["uid": userID, "firstname": clientfirstname, …
CSCoders
  • 11
  • 3
1
vote
0 answers

Populating firebase information into tableView

Hi I am wanting to populate some data from my firebase to my tableView but do not really understand how to go about doing it. Below is a snippet from my code detailing where the data is coming from and the current tableView arrangement I have:…
Usmaan
  • 23
  • 5
1
vote
2 answers

QML How to sort a tableView just by clicking on the header of the column

so in my project I'm using a tableview which has model: tableModel fopm Qt.labs.qmlmodels 1.0; so I want sort it using some methods , I find the class QAbsructProxyModel , I dont know if I used it well but I found problems on filtring and sorting…