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

Accessing Subclass properties in a JavaFX TableView ObservableArrayList

I am trying to access getter properties in a subclass with a TableView in JavaFX. I have the following class: public class PersonType implements Serializable { private static final long serialVersionUID = 1L; Person person; short count; public…
0
votes
1 answer

table with closeable? columns

Is there a jquery table element widget which allows you to remove certain columns by clicking an 'x' icon? I'd previously used a custom tab interface I found online only to find out after I'd implemented most everything that I could've used jquery…
0
votes
1 answer

JavaFX2.2 not all table columns showing data with PropertyValueFactory?

Goodevening everyone, I stumbled on a rather strange problem today and I have no clue what I'm doing wrong. It's about binding table columns with a PropertyValueFactory. I created the table view and table columns in FXML and set the appropriate…
Perneel
  • 3,317
  • 7
  • 45
  • 66
-1
votes
1 answer

JavaFX TableView access aggregated Objects

public class C{ B b; A a; int d; String str; } Classes A and B have their own variables. I have code like this, and I want to use class C in TableView, how do I access values from class A and B? And what do I have to write in…
-1
votes
1 answer

How to define a cell's content based on the contents of an object's attribute using setCellFactory?

I've created a class called "ChatMessage" with 3 attributes: a) timeOfMessage b) sentOrReceived c) message and chat messages are stored inside an array of ChatMessages. I've defined a tableView, and 3 tableColumns (for a, b and c), like so: //…
Tal Kohavy
  • 438
  • 2
  • 8
  • 22
-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
  • 381
  • 3
  • 13
-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 which 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
  • 391
  • 4
  • 16
-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
  • 753
  • 1
  • 14
  • 46
-2
votes
1 answer

How to start new row to skipping some columns in html table?

I want to skip some coulmns in table ? This is my table I want the last row start from below the cost like in the below picture. Anyone Please Help me? Thanks in advance..!
-2
votes
1 answer

ComboBox in TableView without Object - JavaFX

I've searched for a while now explanations on internet about filling cells of a TableView with ComboBox, but each one of them is using lines such as : TableView tableView = new TableView<>(); TableColumn
-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
  • 3
-3
votes
1 answer

How to dynamically create DataTable columns from names and types in lists of strings?

I would like to add columns to a existing DataTable. However, the name of the new column and the type, came from a string list. ColumnName_list = FieldX, FieldY ... ColumnType_list = Sistem.String, System.Decimal ... The order is always related…
RVF
  • 13
  • 3
1 2 3
20
21