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
8
votes
1 answer

Accessing nested properties in JavaFx TableView / TableColumn

I havea TableView, and I access properties of the list's objects as follows. This works just fine.
Stealth Rabbi
  • 10,156
  • 22
  • 100
  • 176
7
votes
1 answer

How to update Extended Properties of a Column?

The questions really says it all, Is it possible to update an extended property of a column in a table. I have been looking around online but they only seem to show updating the extended property for a table and not the columns in a table.
Ben
  • 245
  • 4
  • 13
7
votes
6 answers

Make a column non-editable in a JTable

I created a MasterDetail Simple Form using Netbeans, and I have a JTable which is related to the database. I want to edit a column in this JTable to make it non-editable. I Googled about it and this all I can find…
Azer Rtyu
  • 329
  • 4
  • 9
  • 18
7
votes
5 answers

Find column # by column name or header - JTable

I want to implement a general validation class for my jtables in different forms to check the qty column , as the qty column No in different tables of different forms is different. For this i want to get the column value by column Name similarly in…
6
votes
2 answers

How to apply a context menu to SwiftUI Table row?

I found that the new table component of SwiftUI 3.0 is like a toy, which can be used easily, but it is difficult to expand more functions. TableRow and TableColumn inherit from the value object. How can I get the view of a row? I want to set a…
6
votes
2 answers

How to delete row from table column javafx

These are my table columns Course and Description. If one clicks on a row (the row becomes 'active'/highlighted), and they press the Delete button it should remove that row, how do I do this? The code for my Course column: (and what event listener…
Pim
  • 138
  • 1
  • 1
  • 6
6
votes
1 answer

How to get current cell value from cell factory?

I have TableView with 5 TableColumn. One of these columns represent color of culture on the map. colorColumn.setCellValueFactory(cellData -> { return new SimpleObjectProperty(cellData.getValue()); }); colorColumn …
Bohdan Zv
  • 442
  • 2
  • 5
  • 22
6
votes
3 answers

JavaFX TreeView TreeColumn auto-size to fit content

I have been trying to figure out how to auto-size TreeView columns to fit their content for a while now. This has been asked before, but the response was minimal and not acceptable. [javafx column in tableview auto fit size Curiously, the behavior…
robross0606
  • 544
  • 1
  • 9
  • 19
5
votes
3 answers

Creating a HTML table with Python with multiple columns for a specific row

I wrote this code: tr = "" for author, projects in data.iteritems(): tr + = "{}".format(author) for project, branches in projects.iteritems(): tr += "{}".format(project) for branch in branches: …
Chang Zhao
  • 631
  • 2
  • 8
  • 24
5
votes
3 answers

Flask + SqlAlchemy ALTER table

I'm developing a web application based on Flask + SqlAlchemy + MySQL and I followed that answer. I have to change my model so I need to alter the db table adding a column, but I don't want to lose the stored data dropping and recreating it. I read…
rh0x
  • 1,066
  • 1
  • 13
  • 33
5
votes
3 answers
4
votes
2 answers

Increase width of first column in HTML/CSS table only

I have a basic table built from a table generator. I need to increase the size of the first table column only. However the code below increases the first and fourth column. CSS table.paleBlueRows { font-family: Arial, Helvetica, sans-serif; …
CraigF
  • 321
  • 2
  • 13
4
votes
1 answer

Create a framework type column header for select all in JavaFX 8

I am looking to create a custom TableColumn which is a CheckBox control which represents if the row is selected or not. We don't want to use the standard SHIFT or CONTROL + CLICK to handle this as users tend to click inadvertantly and lose their…
purring pigeon
  • 4,141
  • 5
  • 35
  • 68
4
votes
2 answers

Slickgrid: Final column autosize to use all remaining space

I'm using SlickGrid and struggling to find an elegant solution to the following: All columns must have a specific initial width when first rendered but be resizable afterwards The final column should auto fill the remaining column space when the…
Scott Durow
  • 557
  • 4
  • 10
4
votes
2 answers

Multiple Components in one column of JavaFX TableView

I am working with JavaFx 2.2. I am having a problem that I am not able to place different components in a TableView Column. For example I have two columns 1) Answer 2) AnswerType If AnswerType contains “Multiple Choice” then the corresponding…
user1414600
  • 85
  • 1
  • 3
  • 8
1
2
3
20 21