Questions tagged [tablecolumn]

used to represent the column of the table.

It is used to represent the column of the table. The table can be from database,html or any other language.

302 questions
0
votes
1 answer

Problems with copy value TableColumn invisible

To hide (make invisible) TableColumns normally do: TableColumn.setMinWidth(0); TableColumn.setMaxWidth(0); or remove from the model with removeColumn method (column); But at run time we have the need to leave invisible or visible the column and…
0
votes
2 answers

JavaFX, columns in TableView resize after been moved

I have a TableView with a number of columns that exceeds the screen width. When it's loaded the first time, all columns have the same width but, as soon as I move one of these, all of them are resized to a width equals to the maximum width of data…
Luca
  • 227
  • 1
  • 3
  • 12
0
votes
1 answer

retrieve table and column names from code

I need to retrieve the table names and all of the subsequent columns to be added into the tables to do it manually, given from the code I've got. I can gather all of the table names quite easily (I believe) but I can't see exactly what I'm looking…
0
votes
0 answers

Improve deleting row performance in javafx table

I am trying to delete row from javafx table by using this code new AnimationTimer() { @Override public void handle(long now) { int index = RNG.nextInt(table.getItems().size()); …
learner
  • 1,952
  • 7
  • 33
  • 62
0
votes
0 answers

Creating filters for javafx tablecolumns

I am working with javafx and need to implement filters for my tablecolumns. What I need is functionality to right click on column header and add a filter. I know I can have contextmenu added to my header which will be displayed when I right click my…
learner
  • 1,952
  • 7
  • 33
  • 62
0
votes
1 answer

javafx tablecolumn is not showing anything if all values are null?

I am working with javafx tableview. One of my column is currently having all row as null but I still want it to display it by having null written in those columns. Any suggestion ?
learner
  • 1,952
  • 7
  • 33
  • 62
0
votes
1 answer

new PropertyValueFactory<, >() for a collection

My problem is that I want to use a collection type with new PropertyValueFactory<,>() TableColumn columnname = new TableColumn("Nom"); columnname.setCellValueFactory(new PropertyValueFactory("name")); because my NoteBean contains a…
oussama.elhadri
  • 738
  • 3
  • 11
  • 27
0
votes
1 answer

The JTable Edit/UnEdit Code Not Working For Re Arranged JTable Columns

I am using the following code for Edit/UnEdit for my JTable Columns, but when the user re-arranged the columns the following code is not working SSCCE of the code is following: import javax.swing.JTable; import…
0
votes
1 answer

Javafx multiple calls to get method when using setCellValueFactory

Why does a tableColumn.setCellValueFactory(new PropertyValueFactory("Number")); method call the getNumber method multiple times when I only add one row to a tableView? The number field is in object2 that is used in object1. So…
0
votes
1 answer

Selecting column from database table and renaming them in java

I am trying to display some field of my database on a java front end using eclipse. I have manage to display the entire table but I would like to do is to select some field of my database table as well as rename the field on my front end. for…
Sarah
  • 133
  • 1
  • 9
0
votes
1 answer

Printing out table column names

I currently have this function to print out every rows of my tables static int callback(void *NotUsed, int argc, char **argv, char **szColName) { for(int i = 0; i < argc; i++) { cout.width(17); cout << left << argv[i]; } …
0
votes
1 answer

How do I set the Width property onto a TableColumn Style?

I want to change from this: To this: private Style ReportLabelColumn = new Style(typeof(TableColumn)); …
Bob.
  • 3,894
  • 4
  • 44
  • 76
0
votes
1 answer

Make a whole Row editable on button click

I want to make a whole Row editable...e.g if user selected column 1 than click on edit button the table will show the whole row in editable form...it will be great if any one can give only code upon button event.
Haseeb Wali
  • 1,181
  • 3
  • 14
  • 34
0
votes
1 answer

TableColumns from a JTable are linked when adding to a new JTable in Java?

I have several JTables with several columns each. Each table is displayed on a different tab in a JTabbed Pane. These columns have the same header name among the tables, but different values in the columns. I am trying to allow the comparison of a…
ricgeorge
  • 188
  • 3
  • 5
  • 12
0
votes
0 answers

How to fix the background color on "display:table-column"

How i can fix the background-color height for each column...I have used different background color for each column. If i have added long text in a div than same rows div's background display blank. i need to show the background color there. I have…
Gaurav
  • 341
  • 4
  • 18