Getting Started with NatTable
Sample code to create Nat table with dummy data private NatTable createNatTable(Composite parent) { DummyGridLayerStack dummyLayer = new DummyGridLayerStack(4, 10); DataLayer rowHeader = (DataLayer) dummyLayer .getRowHeaderDataLayer(); rowHeader.setColumnWidthByPosition(0, 20); return new NatTable(parent, dummyLayer ); } Output :