ColumnHeaderLayer colHeader = new ColumnHeaderLayer(new DataLayer(
colDataProvider), viewportLayer, selectionLayer);
IDataProvider rowDataProvider = new DefaultRowHeaderDataProvider(
bodyDataProvider);
RowHeaderLayer rowHeaderLayer = new RowHeaderLayer(new DataLayer(
rowDataProvider), viewportLayer, selectionLayer);
CornerLayer cornerLayer = new CornerLayer(
new DataLayer(new DefaultCornerDataProvider(colDataProvider,
rowDataProvider)), rowHeaderLayer, colHeader);