mirror of
https://github.com/dbgate/dbgate
synced 2024-11-07 20:26:23 +00:00
loading data grid
This commit is contained in:
parent
6792b652fb
commit
a7ed6bf62b
@ -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>
|
||||
|
||||
|
6
packages/web/src/datagrid/LoadingDataGrid.js
Normal file
6
packages/web/src/datagrid/LoadingDataGrid.js
Normal file
@ -0,0 +1,6 @@
|
||||
import React from 'react';
|
||||
import DataGridCore from './DataGridCore';
|
||||
|
||||
export default function LoadingDataGrid(props) {
|
||||
return <DataGridCore {...props} />;
|
||||
}
|
Loading…
Reference in New Issue
Block a user