Questions tagged [jxtable]

An enhanced Table component in Java, with support for general SwingX sorting/filtering, rendering, highlighting, rollover and search functionality

A JXTable is a JTable with built-in support for row sorting, filtering, and highlighting, column visibility and a special popup control on the column header for quick access to table configuration. It can be instantiated just like a JTable, using a TableModel. However, a JXTable automatically wraps TableColumns inside a TableColumnExt instance. TableColumnExt supports visibility, sortability, and prototype values for column sizing, none of which are available in TableColumn.

Javadocs found here.

80 questions
0
votes
2 answers

JXTable java.lang.IndexOutOfBoundsException: Invalid range

i have a problem during adding rows to my tablemodel for my jxtable. The following exception will be thrown: Exception in thread "Thread-9" java.lang.IndexOutOfBoundsException: Invalid range at…
bladepit
  • 853
  • 5
  • 14
  • 29
0
votes
1 answer

How to add a new row to JXTable at runtime?

I am using JXTable to display a list of records. When I click "Refresh" button, I want the JXTable to be refreshed to display the newly inserted records. And also when I click "Add new Row" button, a new row must be added to JXTable. How can I…
brainless
  • 5,698
  • 16
  • 59
  • 82
0
votes
2 answers

Setting the date format in JXTable cell

On this thread I've figured out how to add a JXDatePicker in to a JXTable (or JTable) cell. But I've a small issue now. DatePicker pops up and works fine according to my need. But I can't change the display format of the date in the cell. It shows…
Anubis
  • 6,995
  • 14
  • 56
  • 87
0
votes
1 answer

Why does a RolloverRenderer uses the wrong cell context

The issue I have was hard to reproduce but I hope someone here can give me a hint on how to solve this. I've written a ComponentProvider that takes a String value an creates an clickable cell decorated with a icon if the String contains a…
Moritz
  • 405
  • 2
  • 8
-1
votes
1 answer

Change background color of a JTable cell unconditionally

I have a JTable in a frame which is frequently updated by different threads. I am looking for way to change background color of a cell of the JTable irrespective of its content, something like JTable.setColorAt(Color.YELLOW, 0, 0) Is there…
gnmanoj
  • 1
  • 1
  • 1
1 2 3 4 5
6