Questions tagged [nattable]

Use this tag for questions about Eclipse NatTable which is an SWT table/grid widget that supports very large data sets and advanced features.

Eclipse NatTable which is part of the Eclipse Nebula project provides a high performance SWT data grid with many more features than the standard SWT table.

270 questions
1
vote
1 answer

NatTable Custom Spanning Data Provider, Cell will be only span if they are part of parent group

I have used AutomaticSpanningDataProvider to spanning the columns, its perfectly spanning for repeated columns. But i want to extend an AutomaticSpanningDataProvider to customize the implementation to looks like in the above pic (Expected…
mahesh bhagirath
  • 151
  • 1
  • 1
  • 11
1
vote
2 answers

How to disable "Row Selection" for only selected number of rows of viewport layer in a NatTable?

My NatTable contain CompositeFreezeLayer composed from viewport, body and selection layer. I want to disable a row selection for the frozen rows. That means, in my table I have 15 rows. In these, 5 rows get frozen, that rows should be disabled for…
mahesh bhagirath
  • 151
  • 1
  • 1
  • 11
1
vote
1 answer

Resize every column header to the maximum content size - NatTable

I have a VerticalTextPainter for my column headers. I would like to set the column header height to the maximum of all column heights. If I set setCalculateByTextHeight(true) and setCalculateByTextLength(true) it will resize the columns as I…
Michael
  • 3,411
  • 4
  • 25
  • 56
1
vote
1 answer

How to custamize table cell navigation features of NatTable for "TAB" and "ARROW" keys for an acceptable usability

Using standard keyboard navigation "Up", "Down", "Left", "Right" arrow keys should move the "selection mode" cell into respective direction. No doubt this feature is working after adding this code. gridLayer.addConfiguration(new…
mahesh bhagirath
  • 151
  • 1
  • 1
  • 11
1
vote
1 answer

How to access standard eclipse icons

I am building a tree table using Nebula nattable and am trying to style it like a swt tree table. The issue now is I am trying to use the same icons for decorators as an swt table and can't find them. The current icons are selected with the…
1
vote
1 answer

How to change the NatTable column AutoSize drag icon

I want to change the NatTable drag icon which is shown when the cursor is in between two columns. Here's the default icon: I need to change it to a custom icon like this:
mahesh bhagirath
  • 151
  • 1
  • 1
  • 11
1
vote
1 answer

ColumnHideCommand makes the table columns to disappear in NatTable, when all table elements are selected

I have a NatTable component with the following layers: ViewportLayer SelectionLayer RowHideShowLayer ColumnGroupExpandCollapseLayer ColumnHideShowLayer DataLayer I need to show/hide a specific column, when a checkbox selection changes. In order to…
stormhold
  • 13
  • 2
1
vote
1 answer

Cell dropdown does not work when hiding row numbers

I have a Nattable that can hide his row numbers. now when I hide the row numbers it does not show the dropdown in a cell. I use this code to hide the row numbers: if (showRowNumbers) { compositeGridLayer = new GridLayer(bodyLayer,…
JimmyD
  • 2,629
  • 4
  • 29
  • 58
1
vote
1 answer

How to properly traverse cells in a Nat Table?

I have a simple CustomTextCellEditor that extends AbstractCellEditor I tried to traverse a cell, if the arrow key is pressed when the cell is either empty or we are at the end of the cell data. textFieldControl.addTraverseListener(new…
Kalec
  • 2,681
  • 9
  • 30
  • 49
1
vote
1 answer

clickable text inside a cell in nattable

We have just started implementing NatTable and we are very pleased by the performance increase we are seeing. However, we are having trouble implementing a specific functionality. What we would like is to have clickable text inside a cell, which…
1
vote
1 answer

Dynamically change row foreground color of particular cell in NatTable

do you have nay suggestions to dynamically change the color of cell , I have tried below but when table does not have the those label ("FAILURE") even after that row will remains colored. I want to revert back the color of colored cell when FAILURE…
1
vote
2 answers

How to set minimum size of scrollbar thumb slider on SWT ScrollBar?

Specifically on a Windows XP machine, The width of the SWT ScrollBar Slider becomes incredibly thin when the internal scroll composite is very large. Is there a way to set the minimum width of the thumb slider to like 10-15px so that it doesn't get…
Owen
  • 151
  • 1
  • 11
1
vote
1 answer

how to put selection in first row after sorting in nat table?

how to put selection in first row after sorting in nat table, I'm using SortHeaderLayer for sorting ..... thanks in advance SortHeaderLayer sortHeaderLayer =new SortHeaderLayer(columnHeaderLayer, new…
Suraj
  • 11
  • 2
1
vote
1 answer

How to insert into NatTable cell two text each with a different font?

I am trying to insert into a NatTable cell two texts, each with a different font type, as you can see in the image: NatTable cell with two texts (each with a different font) Thanks in advance.
ADeveloper
  • 15
  • 4
1
vote
1 answer

Remove row numbers in Nattable

I'm using Nattable for a couple of different tables in my application. Now I need to find a way to remove the row numbers in the first column. Is there some way to hide/remove the row numbers from the table? My source to draw the table is: public…
JimmyD
  • 2,629
  • 4
  • 29
  • 58
1
2
3
17 18