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
0 answers

JavaFX code to set RIGHT alignment to few Table Columns

I've populated TableView as follow Dynamically. I want data in last 6 columns to be RIGHT aligned. How can I set alignment of specific columns dynamically? Thanks.
Govind_das
  • 67
  • 7
1
vote
1 answer

JAVAFX: Switching Between Panes in BorderPane

I have a desktop app that contains: Main Class: that load the first fxml file -> SideBar.fxml SideBar.fxml: contains BorderPane -> at the left of it, i create 2 buttons: - the fist button: load sample fxml file - the second…
1
vote
3 answers

Table View Data is overridden

I have a UITableView. Its cell contains a label that will display a question, a yes button and a no button. The goal is to view questions one by one. First I call the API to get the questions in the viewDidLoad method: override func viewDidLoad()…
1
vote
1 answer

Can't get JavaFX Tableview with flashing cell background on update to work properly

I'm learning JavaFX, and is now looking at the TableView. I want to place stock prices in a table, and flash/blink the cell background on update. I have searched a lot, and seen a few suggestions, however not been able to find what I'm looking for.…
Peter Andersson
  • 1,947
  • 3
  • 28
  • 44
1
vote
2 answers

How can I sort a class using an array? - swift 5

I've a class called "cars": car1 = [name: "ferrari", color: "black", size: "small" ] car2 = [name: "Lamborghini", color: "orange", size: "small" ] car3 = [name: "Audi", color: "black", size: "big" ] car4 = [name: "fiat", color: "yellow", size:…
Gianluca Bettega
  • 326
  • 4
  • 12
1
vote
1 answer

JavaFx TableView with Pagination

I made an FXML in the Scenebuilder with a Tableview and Pagination. But I am having trouble to get the pagination to work, especially the PageFactory. I have following code: FXML:
1
vote
2 answers

display two decimal places of a float in a TableView JavaFx

So basically I'm developing this Javafx app following the DAO pattern... and I want the floats to have that .00 end instead of .0 (to represents the balance.. money ) balance records in tableview with .0 here's how I initialized the tableview…
ilyesky
  • 13
  • 5
1
vote
2 answers

Terminating app due to 'NSInternalInconsistencyException' error

Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'attempt to insert section 50 but there are only 1 sections after the update' Hey everyone I have been stuck on this error all day. It crashes the app after the…
Robert Harrison
  • 107
  • 1
  • 10
1
vote
1 answer

Tableview Xamarin forms

Help implement with Tableview. The tableview is populated with switch cells through a loop under C #. I can not make a selection of those cells where switchbox would be included.
1
vote
1 answer

How to use tableView's datasource (numberOfRowsInSection) wirh RxSwift?

I'm using RxSwift, RxCocoa for my app and implemented a tableView. When It got priceData from viewModel for tableView, it showed full list of priceData. But I want to show only 50 counts at the first time and show more when I scroll it. Without…
1
vote
0 answers

How to change frameLayoutGuide.layoutFrame

I would like to change the value '575' in layoutFrame = {{0, 0}, {575, 627}} I would like to have the same value than the frame width (largeur = 826.407) tableView.frameLayoutGuide :
PascalS
  • 89
  • 1
  • 10
1
vote
0 answers

JavaFx TableCellEditor

I have JavaFx TableView and I permit user to enter some data in the table and retrieve what a user entered in the table for this reason I create also ArrayList of TextFields and use the following code but the size of the ArrayList should be 3 in my…
PeroSof
  • 69
  • 7
1
vote
1 answer

How to instantly update tableView value when calling SwipeToDelete method on a TableView cell?

When I swipeToDelete a cell, the deletion animation is correct, but the index value of the cell does not update upon deletion until I Scroll the tableView out of view and Scroll it back into view again, only then does the Data value inside of the…
user12329049
1
vote
1 answer

QML Tableview change row color depending on row content

I'm new to qml and I need to write a simple list with 3 columns and an undefined number of rows showing the output of a log using a tableview. The first column shows the type (error, warning, info). Depending on this keywords I need to change the…
tc_martin
  • 13
  • 3
1
vote
0 answers

Qt Quick - What about the future of TableView and TableViewColum?

I'm using Qt Quick 5.13 for several projects, some of them require a data grid with a column header, handling advanced functionalities, among others allowing the user to resize the columns, sort their content, or swap them. Between the Qt Quick…
1 2 3
99
100