Join us in building a kind, collaborative learning community via our updated Code of Conduct.

Questions tagged [tableview]

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

0
votes
0answers
4 views

TableView doesn't show my Data from Realm

i have one problem: my tableView doesn't show any data from realm database. But i guess the problem is in cell. class ClientViewController: UITableViewController { @IBOutlet var table: ...
0
votes
1answer
6 views

Scroll Tableview Cell with outer Scrollview instead of It's own scroll ?

I have an Imageview covering half of the screen height and a tableview below it. Both are wrapped inside a UIScrollView. I want to scroll the whole view. Means inner scroll of tableview won't work and ...
-1
votes
0answers
20 views

Java Fx Tableview Cell Factory value validate

I want to check the value before when the user hits enter if it is a valid numeric value I will save it if it is not then I will rollback and put the old value back into the cell. But the application ...
0
votes
0answers
21 views

Parse XML Data to Array of Dictionaries & Display in TableView

I have been trying to load my Parsed XML data to a table for the past two days. I have had success with parsing the data and displaying it in the console. However, I have not been able to load the ...
0
votes
2answers
22 views

Alert Controller Before Delete Cell Swift Xcode

I would like to know how to show a delete confirmation before a cell removal, (An alert). The cells are characters with info, so it would be bad if a user delete (swipe) one by mistake. This is the ...
0
votes
1answer
16 views

TableView modify style per cell only [duplicate]

Assume a: TableView<ResultType, String> table = new TableView<> (); table.setItems(myItems); In TableColumn we have the setCellValueFactory method which very nicely gives you access to ...
0
votes
0answers
25 views

JKCalendar library does not called tableview delegate method

I used JKCalendar calendar library. In that library, I use JKCalendarTableView and set the delegate. But the TableView delegate method didSelectRowAt method not called. Code : let frame = CGRect(...
0
votes
0answers
20 views

List songs from remote url in a table view and play one song at a time - Swift

My app fetches list of songs and corresponding urls to download the songs.These are then displayed in a table view. The table view has a list of songs.Each cell represents a song and is designed to ...
0
votes
0answers
29 views

Pagination with swipe Gesture swift 3

How to implement swipe gesture between two View Controller and called pagination in it for multiple data loading with swipe and change ViewController with data according to Rest Api data .
3
votes
1answer
57 views

(Swift) How to set clear background in cell swipe action?

I have a trailingSwipeAction in a UITableViewCell, whose background color must be clear. This is the code where I set the action : func tableView(_ tableView: UITableView, ...
-1
votes
0answers
30 views

table view Datasource method call Before WebServise Response

background thread execution fatal error: unexpectedly found nil while unwrapping an Optional value DispatchQueue.global(qos: DispatchQoS.QoSClass.default).async { self.rootViewCart = ...
-1
votes
0answers
26 views

How to delete cell in tableview cell use minus button (edit mode) no need confirm button delete

I have issue: I want to delete cell in edit mode when click minus button (no need show delete button confirm).
0
votes
1answer
39 views

IOS/Objective-C: Unhindered scrolling of tableview created in code (remove rubber band effect)

I have created a tableview in code as follows: _myTableView = [[UITableView alloc] initWithFrame: CGRectMake(160, 80, 140, 100) style:UITableViewStylePlain]; ...
0
votes
1answer
17 views

Loading Multiple Xib View in one cell

My tableview has 3layer first: Header second: section third: xibviews My tableviewCell load Xibs view depend on indexPath.row For example indexPath.row is at 2 , i want to load CDFlightXibView ...
1
vote
1answer
24 views

Javafx table in Swing

I have a Swing application. I want to use JavaFx in my project. I can not add a TableView into a panel in Jframe. Please help me to add a TableView into a panel in Jframe. I have a Swing application. ...
-2
votes
0answers
23 views

Set style to TableRow programmatically [closed]

How can I write this string: .table-cell:focused:filled:selected .coltext { -fx-fill: black ; } to tableRow.setStyle("???")
-1
votes
0answers
35 views

IOS/Objective-C: Footer Not Displaying in Tableview Created in Code

In ViewDidLoad, I create a tableView for which I would like to add a footer. I am able to create a functioning tableview without any issues but the footer is not displaying. I think the footer ...
0
votes
0answers
29 views

Display data in TableView from ArrayList of Object

I would to display data from an arrayList into a TableView but I have some problem with the mechanism of ''setCellValueFactory''. The code is this: public class Example implements Comparable<...
0
votes
0answers
16 views

How can I use Cocoapod for 3D touch on a table row?

I have a CocoaPod here that I want to use for 3D touch (I have to use a Cocoa framework, not the native version like in other people's questions D': ). It looks like it does the previewing that I ...
0
votes
2answers
22 views

Prototype Cells fetch not correct from JSON

I made a news feed from JSON using TableView and Prototype Cell with three Labels but meet a problem. All lines of feed fetch same data although JSON has differents. JSON give to my app 15 blocks ...
0
votes
1answer
23 views

Tableview section expand collapsed updating after scroll

I am facing issue that I am not able to solve I have created sections on tap of it. I am reloading section in between begin update and endUpdate. The problem is when I press button to expand the ...
0
votes
1answer
11 views

behaviour duplicate and inverse rows in a tableView (javafx)

I have simplified the code to the following in an update of tableview. For some reasons I do not use the property of JavaFx as one would expect, perhaps this behaviour is linked to this. Coming from ...
-1
votes
0answers
23 views

JavaFX TableView. How to incorporate different class type columns of TableView<Person>?

I have a TableView<Person> table, and right now I have TableColumn(Person, String). Here's what I have but also what I want. As you can see, I have the First and Last name displayed so far. ...
0
votes
2answers
18 views

UITableViewCell mask selection zone/size of selection area?

Is there a way you can mask an area on a custom table view cell so that if you press in the area you don't accidentally select the cell? Below is my tableview I will explain further what it is I am ...
1
vote
2answers
72 views

cellForRowAtIndexPath not called when using with Alamofire [duplicate]

I made a function that calls list of user api and I put it in viewDidLoad so that I can get the list in TableViewCell as soon as screen get loaded. But the problem is after calling of ...
-1
votes
0answers
19 views

Swift TableView Text links UND rechts in einer Zeile darstellen? [closed]

Ich möchte ein App programmieren (in Swift 4 mit Xcode 9), in der man eintragen kann, wie viel Geld man für was ausgegeben hat. Das werde ich auch mit CoreData speichern, sonst macht die App ja keinen ...
0
votes
2answers
52 views

Swift remove optionals and unnecessary characters iOS

I am trying to storing struct values into array and same array I want to store it into User-default and retrieve to show tableview. struct item:Codable { var title : String! var size : String!...
2
votes
0answers
27 views

Adding items to NSArrayController causes EXC_BAD_INSTRUCTION

I've had the same problem for a few days now and it's been killing me. Whenever I run my script, I get a EXC_BAD_INSTRUCTION. It happens when I add an array of objects to an NSArrayController, bount ...
-1
votes
1answer
23 views

Swift UIDocumentPickerViewController document upload into AWS S3

UIDocumentPickerViewController to pick some document and upload into AWS S3 with help of TransferUtility. Here, While uploading I need to show upload file name, status(progressive loader %),size into ...
0
votes
1answer
37 views

Using RxSwift with Tableview containing texfields dismisses keyboard on dataSource update

I have a tableview containing forms so there are collection of textfields. I am using RxSwift to bind data with tableview. When i try update dataSource with entered data in textfield, the whole ...
0
votes
1answer
47 views

Adding same objects into TableView more than once at different times

I'm trying to build a project for shopping. This program can keep all added products in the SQLite database without any problem. There are some constraints. A product can be the main or standard ...
1
vote
1answer
81 views

JavaFX8 How to request focus on graphic nodes in a tableview while traversing with TAB or other key?

I have a TableView which contains textual and graphical content (combo boxes, check boxes etc). When I traverse the cells using the keyboard and arrive at a cell that contains a graphic element, I ...
-1
votes
1answer
32 views

Segue not firing from custom tableView cell

I'm experiencing what I'm sure is a beginner's mistake. I have a TableViewController that should segue to a second TableViewController upon selection of a custom cell. I've segued to a ...
0
votes
0answers
32 views

load url image using kingfisher freeze when scrolling fast

I have a horizontal collection view inside tableview In each collection view there are no of images loading from url with kingfisher library but when i scroll fast ,tableview freeze for some seconds ...
-1
votes
0answers
32 views

Dequeue cells with firebase snapshot data

how do I dequeue cells using swift with the following firebase data retrieved from a snapshot? I am not sure how to append data to a dictionary with keys allowing me to dequeue the data for specific ...
0
votes
3answers
48 views

How to scroll from top after scrolling down like Facebook - Swift 4.2

I want to implement scrolling functionality like Facebook app, where tap on Tab bar item if scrolling a page down and tap on same tab bar item it starts scrolling from top. Here is my code - ...
-1
votes
1answer
28 views

JavaFx TableView ProgressBar with Conditional Color change

Need: To be able to change the color of the ProgressBar in TableView depending on the condition in a multi-threaded program Research: I refer to link - Link1 based on which I am able to setup the ...
0
votes
0answers
37 views

how to use Pagination with swipe using swift 3

How to Implement Pagination In PageControl , please suggest any demo or tutorials, i want to load my data in different page , different page has different data from rest Api ,so how to do it , ...
0
votes
2answers
38 views

Using a dictionary to populate a UITableView data in Swift 4

I am currently trying to populate a UITableView with data from a dictionary. I am getting an error "Cannot subscript a value of type 'Dictionary'". I know what it means but I don't know how to fix it. ...
0
votes
2answers
35 views

Tableviewcell height with inside tableView

I have a tableView in which every cell contains another tableView with dynamic row height. My question is how can I set the row height of the first table to fit the height of the inner tableView? I'm ...
0
votes
0answers
38 views

Displaying a cell always at least at the bottom of the screen

We got UI specs for a change in a page with a table view. The last cell of this table view should be at the bottom of the page. However, if the table view content is longer then the page, then the ...
0
votes
0answers
20 views

checkboxes loose his state

I created a table with 3 columns. In middle column i have 3 checkboxes. When my window is initialize checkboxes are ticked if info from database is suitable. It works. User can unticked checkbox what ...
-2
votes
0answers
24 views

How to use UIViewPropertyAnimator with tableView

I have task which I must implement pop-up similar to Maps app (in iOS) or Stocks app (iOS 12). I record a little demo video, what I mean: https://drive.google.com/file/d/...
0
votes
4answers
80 views

How to append JSON values into array using Swift 4?

I am trying to get JSON values and appending into array. Here, below code add_user_product have a chance to come null. If it is null need to append null into array and if not null need to store ID ...
0
votes
1answer
26 views

SWIFT: Print data from firebase database in tableview

I am new to firebase. I want to make an app with data from my Firebase database to show in a tableview. Example: Let's say I have made a database that looks like this: { "fruits": { "Apple": {...
2
votes
1answer
50 views

Swift Tableview cell button image changed based on tableview data

I am trying to parse JSON and appending JSON response value within tableview array. Here below response subcategory few objects I am getting values but some of them I am getting null. { "...
0
votes
1answer
48 views

How to solve Tableview data array “Out of range values” using Swift 4?

My scenario I am using multiple array's for multiple cell label's. Per cell two different label's I am maintaining. I assigned separate array's for cell labels. Like: cell.accessibilityValue = ...
0
votes
0answers
20 views

set horizontal alignment of TableView columns in javafx

i want to align columns in TableView from right to left by which i mean withe space in tableView should be placed into left side of column set instead of right. im using JFXTableView Component: ...
0
votes
3answers
57 views

how to properly pass data from one viewcontroller's selected cell to previous viewcontroller?

suppose I have two viewcontroller called A and B. In my viewcontroller B I have a tableview in it. When I selected a cell in my tableview, I want to pass that information back to A. I have a ...
0
votes
1answer
26 views

JavaFX 8 How to pass and use a reference to a method that doesn't return a value?

I'm trying to pass and use a method reference to another method. The reference is to a setter in a TableView's model class that accepts a String input parameter and doesn't return a value. In my ...