2017-09-28 10 views

答えて

0

私はこれを解決しました。私は使用しましたCompositeLayer

IDataProvider rowHeaderDataProvider = new DefaultRowHeaderDataProvider(bodyDataProvider); 
DataLayer rowHeaderDataLayer = new DataLayer(rowHeaderDataProvider); 
ILayer rowHeaderLayer = new RowHeaderLayer(
        rowHeaderDataLayer, 
        viewportLayer, 
        selectionLayer); 
CompositeLayer compositeLayer = new CompositeLayer(2, 1); 
compositeLayer.setChildLayer(GridRegion.ROW_HEADER, rowHeaderLayer, 0, 0); 
compositeLayer.setChildLayer(GridRegion.BODY, viewportLayer, 1, 0); 
natTable.setLayer(compositeLayer); 
関連する問題