0
我可以證明使用這些代碼CSV內容到NatTable:怎麼能顯示的行數的星雲NatTable
IDataProvider bodyDataProvider = ...;
DataLayer bodyDataLayer = new DataLayer(bodyDataProvider);
SelectionLayer selectionLayer = new SelectionLayer(bodyDataLayer);
ViewportLayer viewportLayer = new ViewportLayer(selectionLayer);
viewportLayer.setRegionName(GridRegion.BODY);
natTable.setLayer(viewportLayer);
我們如何能顯示的行數?我試圖使用GridLayer
,但沒有列標題。請幫忙!