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.

281 questions
-1
votes
2 answers

Which is more optimal? Join 2 tables Or Use an aditional column in a table

Table A1: | id | name  | code | level | |  1 | Anton | A111 |     2 | |  2 | Berta | A112 |     5 | Table B1: | id | name | code | | 1 | Anton | A111 | | 2 | Berta | A112 | Table B2: | id | code | level | |  1 | A111 |     2 | |  2 | A112 |    …
Amin Maleki
  • 146
  • 3
  • 17
-1
votes
1 answer

TableCell doesn't show item.toString() value with custom CellFactory

I installed a custom CellValueFactory and CellFactory on my TableColumn: I'm programming an address book, Salutation is an enum with values "Mr" and "Mrs". salutation.setCellValueFactory(c->new…
Lukas
  • 302
  • 1
  • 10
-1
votes
1 answer

Hide TableColumns of TableView through CheckBox on separate Window

I have a window written in fxml with a TableView and a few TableColumns and other stuff. I am trying to create a function in the controller to this window, that enables the user to select wich columns to display via a set of checkboxes on a…
-1
votes
1 answer

Binding column text property to another property with refresh (JavaFX)

Could somebody tell me how shold I approach binding the text property of a column header in a TableView to another property, that can be changed with a combobox selection? I tried column.textProperty().bind(myProperty) , but the column header…
Near
  • 371
  • 4
  • 15
-1
votes
1 answer

find column number in a SQL table in IBM netezza database

I would like to know the column number in a SQL data table in IBM netezza. I do not find it in the following sql query: select * from _v_obj_relation_xdb join _v_sys_object_dslice_info on (objid = tblid) where objname like 'my_table' Any help…
user3601704
  • 703
  • 1
  • 10
  • 40
-2
votes
0 answers

PropertyValueFactory does not accept boolean in ArrayList

I have an ArrayList and I have used the below line of code in main, which breaks everything... columns.get(i).setCellValueFactory(new PropertyValueFactory<>("isActive")); I can see that the problem might be that isActive is…
-2
votes
1 answer

TableView: Populating editable TextField container

After many hours of reading and trying I have been struggling with populating editable TextField containers within a TableView. I already managed to display data from an ObservableList of a custom object to my TableView instance. I already tried…
Vitt3x
  • 1
-2
votes
1 answer

No content displayed when populating TableView with attributes of an Object

Ok, so I know this is a common problem that has been posted about a lot but as much as I try to follow the advice given, my TableView till displays no data... I'll reduce my object a bit to keep things as short as possible. Here is my Object:…
-2
votes
1 answer

Syntax error on token ">>", Expression expected after this token

I'm getting Syntax error on token “>>”, Expression expected after this token when calling setCellFactory below but do not understand why. import javafx.application.Application; import javafx.collections.FXCollections; import…
Misteris
  • 1
  • 2
-3
votes
2 answers

What is use of in the declaration in javafx

private TableColumn colname; I want to know what is use of this in declaration of tablecolumn.
-6
votes
4 answers

Stop allowing null in a table column

I have a table in SQL server 2008. I need a column that until now wasn't necessary, not to allow NULL anymore, without droping the table. I tried to do something like this: ALTER TABLE [Sessions] ALTER COLUMN region_id NOT NULL; EDIT: It was a…
Tomer Amir
  • 1,239
  • 1
  • 20
  • 47
1 2 3
18
19