-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(components): [table] fixed column supported in grouped header (#1…
…0096) * fix(components): [table] fixed column supported in grouped header * fix(components): [table] fixed column supported in grouped header * fix(components): [table] fixed column supported in grouped header * fix(components): [table] fixed column supported in grouped header
- Loading branch information
Showing
7 changed files
with
218 additions
and
53 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
<template> | ||
<el-table :data="tableData" style="width: 100%" height="250"> | ||
<el-table-column prop="date" label="Date" width="150" /> | ||
<el-table-column prop="name" label="Name" width="150" /> | ||
<el-table-column prop="zip" label="Zip" width="150" /> | ||
<el-table-column label="Address Info" fixed="right"> | ||
<el-table-column prop="state" label="State" width="100" /> | ||
<el-table-column prop="city" label="City" width="120" /> | ||
<el-table-column prop="address" label="Address" width="250" /> | ||
</el-table-column> | ||
</el-table> | ||
</template> | ||
|
||
<script lang="ts" setup> | ||
const tableData = [ | ||
{ | ||
date: '2016-05-03', | ||
name: 'Tom', | ||
state: 'California', | ||
city: 'Los Angeles', | ||
address: 'No. 189, Grove St, Los Angeles', | ||
zip: 'CA 90036', | ||
}, | ||
{ | ||
date: '2016-05-02', | ||
name: 'Tom', | ||
state: 'California', | ||
city: 'Los Angeles', | ||
address: 'No. 189, Grove St, Los Angeles', | ||
zip: 'CA 90036', | ||
}, | ||
{ | ||
date: '2016-05-04', | ||
name: 'Tom', | ||
state: 'California', | ||
city: 'Los Angeles', | ||
address: 'No. 189, Grove St, Los Angeles', | ||
zip: 'CA 90036', | ||
}, | ||
{ | ||
date: '2016-05-01', | ||
name: 'Tom', | ||
state: 'California', | ||
city: 'Los Angeles', | ||
address: 'No. 189, Grove St, Los Angeles', | ||
zip: 'CA 90036', | ||
}, | ||
{ | ||
date: '2016-05-08', | ||
name: 'Tom', | ||
state: 'California', | ||
city: 'Los Angeles', | ||
address: 'No. 189, Grove St, Los Angeles', | ||
zip: 'CA 90036', | ||
}, | ||
{ | ||
date: '2016-05-06', | ||
name: 'Tom', | ||
state: 'California', | ||
city: 'Los Angeles', | ||
address: 'No. 189, Grove St, Los Angeles', | ||
zip: 'CA 90036', | ||
}, | ||
{ | ||
date: '2016-05-07', | ||
name: 'Tom', | ||
state: 'California', | ||
city: 'Los Angeles', | ||
address: 'No. 189, Grove St, Los Angeles', | ||
zip: 'CA 90036', | ||
}, | ||
] | ||
</script> |
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
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