-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Table): Fix an issue where select does not work properly when gro…
…upby is enabled. Close #680 (#684) * fix(Table): Fix an issue where select does not work properly when groupby is enabled * chore: Fix lint warning
- Loading branch information
1 parent
65b510e
commit 5e7f3de
Showing
6 changed files
with
159 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
/** ******************************************************************************************************************* | ||
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
Licensed under the Apache License, Version 2.0 (the "License"). | ||
You may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. * | ||
******************************************************************************************************************** */ | ||
import { DataType } from './type'; | ||
|
||
const data: DataType[] = [ | ||
{ | ||
id: 'id0000011', | ||
name: 'Order 11', | ||
createdDate: '2020-01-01', | ||
subRows: [ | ||
{ | ||
id: 'id0000111', | ||
name: 'Order 111', | ||
createdDate: '2020-01-01', | ||
}, | ||
], | ||
}, | ||
{ | ||
id: 'id0000012', | ||
name: 'Order 12', | ||
createdDate: '2020-01-01', | ||
subRows: [ | ||
{ | ||
id: 'id0000211', | ||
name: 'Order 211', | ||
createdDate: '2020-01-01', | ||
}, | ||
], | ||
}, | ||
{ | ||
id: 'id0000013', | ||
name: 'Order 12', | ||
createdDate: '2020-01-02', | ||
subRows: [ | ||
{ | ||
id: 'id0000311', | ||
name: 'Order 311', | ||
createdDate: '2020-01-01', | ||
}, | ||
], | ||
}, | ||
{ | ||
id: 'id0000014', | ||
name: 'Order 12', | ||
createdDate: '2020-01-02', | ||
}, | ||
{ | ||
id: 'id0000015', | ||
name: 'Order 13', | ||
createdDate: '2020-01-02', | ||
}, | ||
{ | ||
id: 'id0000016', | ||
name: 'Order 13', | ||
createdDate: '2020-01-03', | ||
}, | ||
{ | ||
id: 'id0000017', | ||
name: 'Order 13', | ||
createdDate: '2020-01-03', | ||
}, | ||
{ | ||
id: 'id0000018', | ||
name: 'Order 13', | ||
createdDate: '2020-01-03', | ||
}, | ||
{ | ||
id: 'id0000019', | ||
name: 'Order 13', | ||
createdDate: '2020-01-04', | ||
}, | ||
]; | ||
|
||
export default data; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters