loading data grid

This commit is contained in:
Jan Prochazka 2020-10-18 18:13:58 +02:00
parent 6792b652fb
commit a7ed6bf62b
2 changed files with 10 additions and 3 deletions

View File

@ -15,6 +15,7 @@ import {
} from './ManagerStyles';
import ReferenceManager from './ReferenceManager';
import { HorizontalSplitter } from '../widgets/Splitter';
import LoadingDataGrid from './LoadingDataGrid';
const MainContainer = styled.div`
position: absolute;
@ -50,18 +51,18 @@ export default function DataGrid(props) {
<LeftContainer>
<ManagerMainContainer>
<Container1>
<ColumnManager {...props} managerSize={managerSize}/>
<ColumnManager {...props} managerSize={managerSize} />
</Container1>
{props.showReferences && (
<ManagerOuterContainer2>
<ReferenceManager {...props} managerSize={managerSize}/>
<ReferenceManager {...props} managerSize={managerSize} />
</ManagerOuterContainer2>
)}
</ManagerMainContainer>
</LeftContainer>
<DataGridContainer>
<DataGridCore {...props} />
<LoadingDataGrid {...props} />
</DataGridContainer>
</HorizontalSplitter>

View File

@ -0,0 +1,6 @@
import React from 'react';
import DataGridCore from './DataGridCore';
export default function LoadingDataGrid(props) {
return <DataGridCore {...props} />;
}