7,924 questions
2
votes
1
answer
43
views
Surprising mouse behaviour when TableView overlapping
Given this code:
import QtQuick
import Qt.labs.qmlmodels
Window {
width: 640; height: 480; visible: true; color: "silver"
FocusScope {
id: bottomScope
anchors....
0
votes
0
answers
21
views
tvOS UITableView shows shadow on top and bottom when manually changing contentOffset
I’m working on a tvOS app using Swift, and I have a UITableView that contains three sections.
For first two sections, each contain a horizontally scrolling UICollectionView.
The last section contains ...
1
vote
1
answer
59
views
TableView and HorizontalHeaderView column widths do not match, even with syncView property set
I'm using Qt Quick (Qt 6.8) with a TableView and a HorizontalHeaderView. I’ve set up syncView so that the header and table should stay in sync:
HorizontalHeaderView {
id: header
Layout....
0
votes
0
answers
118
views
Autocompleting TextField inside a TableView?
I'm trying to add autocompletion to a TextField that acts as a data column in a TableView.
In particular, I want to use an Array of String values as suggestions, but not require that the value of the ...
2
votes
0
answers
69
views
How can I replace value of column in TableView with image using JavafX [duplicate]
I am using JavaFX and I encountered one problem in my TableView. I have a column which shows 0 or 1, how can I change it into showing an image instead of numbers?
If value is 0 I want to show image ...
0
votes
0
answers
78
views
Dynamic Cell Height (SwiftUI View in UIKit TableView) Weird Animation
I am attempting to adjust the height of a SwiftUIView when pressing the corresponding button. However, the animation that occurs when the height is adjusted does not align with my desired behavior. ...
4
votes
1
answer
117
views
Dynamic TableView creating with JavaFX
I'm new. Let's say I want to create a TableView dynamically based on someString with a query like this:
TableView<???> table = new TableView<>();
ResultSet rs = statement.executeQuery(&...
1
vote
0
answers
73
views
How do I animate column/row size with Flutter TableView?
Using the package two_dimensional_scrollables I want to expand and animate the size of a specific column when tapping on it. The code below listens to the user action to change the column size and ref....
0
votes
1
answer
576
views
Pyside6 Issue with scaling factor of windows on high dpi screen
I have this bit of code to draw a line on the upper border of specific row in a treeview:
class TextValidatorDelegate(QStyledItemDelegate):
"""a delegate to validate user input&...
1
vote
1
answer
93
views
In a TableView, can I format an entire rows cells based on one cell's value?
I have a TableView where I format the cells style based on the value (see code). I'm wondering if there's a way to format the entire row that cell belongs to based on that cells value or the value of ...
1
vote
1
answer
199
views
How to select SwiftUI Table item on single click?
I have a SwiftUI Table on macOS. (I'm NOT using a List.) I want it to behave the same as a Cocoa table: when a user clicks on a row, focus should shift to the table AND the clicked row should be ...
0
votes
0
answers
43
views
How can I save an entire TableView to an image in QML
How can I save an entire TableView to an image in QML? I created a basic TableView object tableView. The model of tableView is a C++ instance, and the delegate is a custom QML object. Due to too much ...
0
votes
2
answers
88
views
Dynamic Height Cell with XIB: Including UILabel and UIImageView
I’m trying to design a UITableViewCell with XIB that has the following layout and behavior:
A UIView on the left with a fixed size of 44x44.
A UILabel next to it, which expands dynamically based on ...
0
votes
1
answer
67
views
JavaFX TableView - Scroll Bars and auto resized TableColumns
I am trying to have a TableView with auto resized columns and scroll bars.
The TableView is in my FXML file, and I don't have it wrapped in any pane. I have read that TableView should automatically ...
0
votes
2
answers
65
views
Tableview on scrolling values changing from adapter
I develop both android(Java) and IOS(swift) applications. I had a problem on the Android side and I solved it.I'm having the same problem on the IOS side but I couldn't solve it.
I have a tableview in ...
1
vote
1
answer
89
views
javafx row selected checkbox background color
I'm developing a JavaFX application in which I have a TableView which contains some text and checkbox.
.table-row-cell:selected {
-fx-background-color: rgb(180, 228, 156);
}
.table-row-cell:...
0
votes
1
answer
43
views
How to avoid ghost values being recorded while using textfields in UITableView
quantityTextfields are getting ghost values (values that are not putted by user in text field) Even when only one text field is changed, I think this is because how TableView Cells are reused, but how ...
0
votes
1
answer
57
views
Sync UITableView scroll with keyboard appearance
I have a tableView with four cells. Each cell has a UITextView with a long-long text. When user starts to edit text, keyboard appears and the tableView scrolls up. I would like it to happen ...
-3
votes
1
answer
53
views
Finding indexes of the maximum value in a struct array [closed]
I have a simple struct that I group and insert into a tableview with the title of sections and cell. I would like to get the indexes from the data for IndexPath(row: , section: ), which I then want to ...
1
vote
2
answers
253
views
QTableView with stylesheet - indicators overlap text in Qt6
Update: This issue is caused by a Qt bug. They solved it, for release in Qt 6.9.
https://bugreports.qt.io/browse/QTBUG-129290
Original Post: We had to port code to Qt6, and one of the things that ...
2
votes
1
answer
106
views
TableView with a custom ComboBox randomly selects CheckBoxes when scrolling
I have a TableView which shows in a column in each TableCell a ComboBox with inside a Pane with each a CheckBox and a Label.
When I check e.g. the first CheckBox or any other and scroll down a bit ...
0
votes
1
answer
85
views
TableView not updating after adding or updating record in JavaFX
I'm working on a JavaFX application with a TableView for managing employee records. I have an EmployeeRepository class for handling CRUD operations that communicates with "CsvHandler" class ...
1
vote
1
answer
78
views
JavaFX and TableView with split column get WidthProperty
I'm trying to retrieve the widthProperty of my parent column to assign it to my label but I can't.
Without Split Column is ok
And with Split column widthProperty not working
I manage to recover ...
0
votes
0
answers
66
views
JavaFX Intermittent Execution Issue
I am experiencing an intermittent issue in my JavaFX application where the casesTableView.getItems().clear() method behaves inconsistently. Initially, it executes correctly, but on subsequent ...
1
vote
0
answers
79
views
Issue with Dequeuing Custom Cells in Main Storyboard
I'm encountering an NSInternalInconsistencyException when trying to dequeue custom cells designed in XIB files in my main storyboard. The error message is:
unable to dequeue a cell with identifier ...
0
votes
1
answer
52
views
iOS - Show header view in 2 tableviews next to each other
I have a view controller that shows two tableViews side by side.
I have also a class (ButtonHeaderFooterView) that extends from UITableViewHeaderFooterView.
I want to show different titles for the ...
2
votes
1
answer
107
views
TableView style scrollbar filler column area
I couldn't find a way to style (set the background color) of the filler column area that appears when the (vertical) scrollbar spawns.
I am talking about this part:
It should be possible with either ...
1
vote
0
answers
54
views
Java application interface error after building in tableview?
I created a tableview with a feature that automatically wraps text to the next line when Enter is pressed and changes the state of the next row to edit mode using the following code:
Java
this....
0
votes
1
answer
60
views
How to change text color in the row of table-view without css JavaFx
I have the next function:
tableSoldCoffees.setRowFactory(typesOfCoffeesTableView -> new TableRow<TypesOfCoffees>() {
@Override
protected void updateItem(TypesOfCoffees ...
-1
votes
2
answers
47
views
TableView AutomaticDemension doesn't work(Swift
I wanted to adjust my tableview cell height, so I wrote this code :
self.tableView.rowHeight = UITableView.automaticDimension
self.tableView.estimatedRowHeight = 200
But it failed due to my poor ...
0
votes
1
answer
53
views
JavaFX Button disappears from Table View
I have a table view populated with persons. Only one person (Jane) gets a button in column "Actions".
When double clicking on the column header to trigger the column auto fit the button ...
0
votes
1
answer
435
views
PyQt6 Delegate class to show combo boxes in tableView cells, doesn't update model on selection. It has to be clicked again
I have revised this post in line with comments gratefully received.
I attach a simplified program to demonstrate the problem, and along the way to developing it I found the answer to my initial ...
0
votes
1
answer
53
views
How it works a Recursive MySQL Query
I'm working on a mini project for warehouse management, and I need to manage the available quantity of items. Sometimes articles can be composed (made up of one or more different articles), which in ...
0
votes
2
answers
72
views
JavaFX TableView populating columns with same value 3 times
I have this bit of code for setting up a TableView
@Override
public void initialize(URL location, ResourceBundle resources){
if(App.Customers.get(App.currentcustomerindex).getAccounts()...
0
votes
1
answer
79
views
evrencoskun's TableView can't hide row without RowHeaderItems
If I try to hide a row with evrencoskun's TableView, but have not called setRowHeadItems (because my table doesn't have row labels) then my app crashes:
FATAL EXCEPTION: main
Process: com.example.app, ...
-1
votes
1
answer
67
views
ColletionView inside table view not displaying data correctly
[Edit] If additional information is needed, I will be happy to provide it.
I have a situation that I have thus far been unable to figure out. A Collection View embedded inside of a table view; I am ...
3
votes
1
answer
44
views
Add item to a TableView that the user sorted by a certain column while respecting the sort
I have a TableView that the user can sort by any of its columns. Depending on other events in the app, I want to add data to the TableView. However, when I add the data, the new row always appears on ...
3
votes
0
answers
105
views
NPE for TableCell's skin
I have implemented a TableView in my application. I have created custom skin for the TableCell and initiated the custom skin in the createDefaultSkin() method of the TableCell.
Everything works as ...
0
votes
1
answer
129
views
How can i make a custom TableColumn display cell observable?
I would like to implement a solution that avoids the PropertyValueFactory and also be able to reference all the class's properties in the TableCell updateItem method not just the bound property ...
0
votes
0
answers
16
views
Multiple collection views in table view layout issue
I have a single table view and it has a 4 sections. Every sections i registered a different collection view cells. In a table view cell, i'm having trouble setting the constraints of collection views ...
1
vote
1
answer
122
views
JavaFx how to use default and custom column-header css style in tableview?
I want to change the default behavior with a custom css for the header text positioning. However, it must be possible to change the positioning of individual columns.
However, it does not work.
My new ...
-1
votes
1
answer
321
views
Stop tableView scrolling under status bar (Swift 5, Xcode 15)
I have a tableView inside -> navigationViewController -> tabBarController.
The tableView keeps scrolling under the statusBar no matter what I do. I like it to stop underneath the status bar.
...
0
votes
1
answer
88
views
Cannot open my QML MessageDialog using my C++ signal
I have a sudoku grid, and I want to validate it so that a number cannot be entered in the same row and column. If this happens, I want the message dialog box to open.
I have the function verif_complet ...
0
votes
1
answer
281
views
How to force ttkbootstrap TableView column title to always stay right justified
I've created a ttkbootstrap tableview with several columns where one column title/heading is configured to be right justified. When data is loaded the column title/heading is no longer right justified....
0
votes
1
answer
81
views
MessageDialog is not showing when I validate a condition in a qml TableView
I have a TableView that has a Sudoku grid in it. I wanted to validate it so that a number cannot be placed in the same row or column using a c++ functions. When the user enters an invalid number it ...
0
votes
1
answer
289
views
Unable to .bind("<<TreeviewSelect>>".. to work with TableView to get selected row data
I am trying to get the row data of the selected row in a ttkbootstrap Tableview, and as with tkinter treeview, I've always just used .bind("<>",my_func) and my_func would proceed in ...
0
votes
1
answer
164
views
Edit cells and lock them in QML TableView
I have the following TableView and was passed to QML via a C++ QAbstractTableModel and I want to make the cells editable pressing the enter key and after that the cells cannot be edited anymore. How ...
1
vote
1
answer
165
views
It is valid Accessing BehaviorRelay value directly for UITableView in RxSwift?
I'm working with RxSwift and have a scenario where I use a BehaviorRelay in my ViewModel to hold an array of data for a UITableView. I've set up a subscription to this BehaviorRelay specifically to ...
1
vote
1
answer
480
views
How to set the row height of data rows of ttkbootstrap.tableview.Tableview (bootstrap.TableView NOT tk.TreeView)?
This question is not a duplicate of How can I set the row height in Tkinter TreeView? because I am asking about ttkboostrap.tableview.Tableview and not tk.Treeview. The Treeview solutions do not work ...
-1
votes
1
answer
96
views
TableView error: "attempt to insert row 1 into section 0, but there are only 0 rows in section 0 after the update"
enter image description here
func reloadCellOfTableView(_ tableView: UITableView, cell: UITableViewCell) {
DispatchQueue.main.async {
if let indexPath = tableView.indexPath(for: cell) {
...