Commit Graph

60 Commits

Author SHA1 Message Date
sea
14eda6f1e8 docs(components): [table] supplement columns type (#21642) 2025-08-05 22:28:53 +02:00
An Hao
9bd2f8a4f5 feat(components): [table] support native scrollbar (#21539)
* feat(components): [table] support native scrollbar

* Update table.vue

* Update packages/components/table/src/table/defaults.ts

Co-authored-by: btea <2356281422@qq.com>

---------

Co-authored-by: anhao <wzanh@sinopec.com>
Co-authored-by: btea <2356281422@qq.com>
2025-07-30 11:11:42 +08:00
btea
865ce3849e fix(components): [table] revert 20210 (#21482)
* fix(components): [table] revert 20210

* chore: update

* test: check indent
2025-07-24 20:04:31 +08:00
Spaceman
b3219f6446 fix(components): [table] fix the issue where the expand-row-keys property does not support the number type (#20210)
* fix(components): [table] fix the bug of the expand-row-keys property

* fix(components): [table] fix the bug of the expand-row-keys property

Fix the issue where the expand-row-keys property does not support the number type

* fix(components): [table] fix the bug of the expand-row-keys property

Fix the issue where the expand-row-keys property does not support the number type

* fix(components): [table] Use Map instead of Object to handle number keys

 Use Map instead of Object to solve the problem of number keys

* fix(components): [table] fix the bug of the expand-row-keys property

1.expandRowKeys should be of type Array<string | number> ✔
2.It would be better to add types to new Map() ✔
3.It would be better to add relevant test cases ✔

* fix(components): [table] fix the bug of the expand-row-keys property

1. expandRowKeys should be of type Array<string | number> ✔
2. It would be better to add types to new Map() ✔
3. It would be better to add relevant test cases ✔

* fix(components): [table] fix the bug of the expand-row-keys property

1. expandRowKeys should be of type Array<string | number> ✔
2. It would be better to add types to new Map() ✔
3. It would be better to add relevant test cases ✔

* fix(components): [table] fix the bug of the expand-row-keys property

1.table.md ✔
2.add a test for mixed strings and numbers ✔

* fix(components): [table] fix the bug of the expand-row-keys property

1.table.md ✔
2.add a test for mixed strings and numbers ✔

* fix(components): [table] fix the bug of the expand-row-keys property

1. table-test-common.ts ✔
2. table.md ✔
3. tree.ts -- changed to: new Map<string | number, object>() ✔

* fix(components): [table] fix the bug of the expand-row-keys property

fix(components): [table] fix the bug of the expand-row-keys property

* fix(components): [table] fix the bug of the expand-row-keys property

fix(components): [table] fix the bug of the expand-row-keys property

* fix(components): [table] fix the bug of the expand-row-keys property

fix(components): [table] fix the bug of the expand-row-keys property

* fix(components): [table] fix packages/components/table/src/store/tree.ts

fix(components): [table] fix packages/components/table/src/store/tree.ts

* chore: update test cases

* chore: update version

* fix(components): [table] fix the bug of the expand-row-keys property

Fix the issue where the expand-row-keys property does not support the number type

---------

Co-authored-by: warmthsea <2586244885@qq.com>
2025-06-25 22:02:43 +08:00
dhj-l
eb80cacb0d docs(components): [table] update filter-change event description (#21123)
docs(docs): fix filter-change event description in table
2025-06-24 17:18:39 +08:00
Noblet Ouways
2f17df1209 style(eslint-config): newline before import type (#21036)
* perf: change to import-x

* feat: add rules

* chore: fix rule

* chore: fix

* chore: fix

* chore: fix

* style: `pnpm lint:fix`

* Revert "style: `pnpm lint:fix`"

This reverts commit db0116a288.

* Revert "chore: fix"

This reverts commit 69c82a90c0.

* chore: fix

* style: `pnpm lint:fix`

* fix: lint

* chore: `pnpm format`
2025-06-16 15:37:12 +08:00
Meet you
b44a4a3acf feat(components): [table-column] add expand slot (#20750)
* feat(components): [table-column] add `expand` slot

* fix(components): update

* Update packages/components/table/src/table-column/render-helper.ts

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>

* fix(docs): update

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
2025-05-31 09:33:40 +02:00
EralChen
d410486c07 feat(components): [table-column] preserve expanded content (#19899)
* feat: [table-column] preserve expanded content

* chore: format

---------

Co-authored-by: warmthsea <2586244885@qq.com>
2025-03-13 10:20:07 +08:00
知晓同丶
462bff18de feat(components): [table] add tooltip-formatter table & table-column prop (#19524)
* feat(components): [table] add `tooltip-formatter` table-column prop

closed #19507

* docs: add example

* docs: demo remove tooltip formatter index

* refactor(components): refactor code

* docs: simpify tooltip demo

* fix: fix warning error

* feat(components): add table tooltip-formatter prop & merge slot

* refactor: reuse variables

* test: add tooltip-formatter test

* docs: upgrade version

* feat(components): [table] add `tooltip-formatter` table-column prop

closed #19507

* docs: add example

* docs: demo remove tooltip formatter index

* refactor(components): refactor code

* docs: simpify tooltip demo

* fix: fix warning error

* feat(components): add table tooltip-formatter prop & merge slot

* refactor: reuse variables

* test: add tooltip-formatter test

* docs: upgrade version

* refactor: change parameter to obj args

* fix: property change to prop

* fix: export `TableOverflowTooltipFormatterData`

* refactor: `TableOverflowTooltipFormatterData` to `TableTooltipData`

* fix: remove useless import

* fix: refactor code

---------

Co-authored-by: btea <2356281422@qq.com>
2025-01-23 20:15:12 +08:00
btea
f3fec3203a feat(components): [table] add allow-drag-last-column prop (#19374) 2025-01-03 11:36:19 +08:00
DDDDD12138
0aee33e240 docs: [table] correct array type display (#19084) 2024-12-03 07:54:14 +08:00
blesstosam
f1e95dc3a9 feat(components): [table] expose scroll event (#12524)
* feat(components): [table] expose scroll event

* chore: update doc
2024-11-20 21:49:22 +08:00
sea
984ab608e7 feat(components): [table] export updateKeyChildren method & correct version (#17709)
* feat(components): [table] export `updateKeyChildren` fn

* Update docs/en-US/component/table.md

Co-authored-by: btea <2356281422@qq.com>

* chore: update version

* docs: update version

* docs: format

* docs: fix version

---------

Co-authored-by: btea <2356281422@qq.com>
2024-09-27 18:20:57 +08:00
Karolis_Stoncius_Sneakybox
03fa5d6839 feat(components): add the ability to append table filter panel, select and pagination size dropdowns to any element (#14318)
* feat(components): [pagination] append size dropdown to element

* feat(components): [select] append select dropdown to element

* feat(components): [table] append table filter panel to element

* refactor(components): [pagination] shorten prop names

* fix(components): [select] appendTo prop

* docs(components): add pagination docs append-size-to version tag

* docs(components): remove append-size-to default value in docs

* refactor(components): remove default appendTo values

* docs: version bump

* refactor(components): remove default appendFilterPanelTo value
2024-09-26 09:56:23 +08:00
sea
cd01ceb8f0 docs(components): [table] optimize FAQ code display (#18281)
* docs(components): [table] optimize FAQ code display

* docs: update
about:
https://github.com/element-plus/element-plus/issues/18240
https://github.com/element-plus/element-plus/issues/16514
2024-09-14 14:55:02 +08:00
qiang
e3bb681984 fix(components): [table] the disabled checkbox are selected (#18034)
* fix(components): [table] non selectable items are selected

closed #18021

* docs: update
2024-09-13 14:13:33 +08:00
Karolis_Stoncius_Sneakybox
1d26af3066 feat(components): [scrollbar] add tabindex to scrollbar wrap content (#14320)
* feat(components): [scrollbar] add tabindex to scrollbar wrap content

* refactor(components): [scrollbar] set default tabindex to undefined

* refactor(components): [table] change bodyTabindex to scrollbarTabindex

* refactor(components): [scrollbar] remove unnecessary props

* docs(components): add version tags
2024-09-09 17:36:11 +08:00
dopamine
569991eeae docs(components): [table] revise getSelectionRows type (#18208)
docs: revise `getSelectionRows` type
2024-09-07 07:59:06 +08:00
qiang
c0f06a4fc4 docs: remove tip about client-only (#17852) 2024-08-13 08:40:30 +08:00
daoyi.tian
48dfe3a69a feat(components): [table] tree children add check strictly (#13519)
* feat(components): [table] tree children add check strictly

* fix(components): [table] remove utils console

* fix(components): [table] error of selector state

* docs: update

* fix: remove unnecessary changes

* fix: the toggleRowStatus has not been processed to selectable

* docs: update

* fix: the rowIndex error

---------

Co-authored-by: qiang <qw13131wang@gmail.com>
2024-08-05 12:10:17 +08:00
dopamine
c76cc8bc92 fix(components): [table] inaccurate type of toggleRowSelection (#17687) 2024-07-29 13:40:05 +08:00
btea
c7dea71e81 feat(components): [table-column] add filter-icon slot (#17272)
* feat(components): [table] add `filter-icon` prop

* chore: remove

* chore: remove

* Update docs/en-US/component/table.md

* feat: filter-icon slot

* test: test case

* chore: update

* chore: update
2024-07-24 14:47:42 +08:00
sea
0f93f11ad4 fix(components): [table] expand-row-keys change to explicit type (#17333)
fix: change to explicit
2024-07-19 16:05:57 +08:00
sea
32ed206b1f feat(components): [table] export columns (#17252)
* feat(components): [el-table] export columns

* feat: add test and fix
2024-06-19 21:12:09 +08:00
xx
bb6033de40 docs: [table] add example with show overflow tooltip (#17098)
docs: ✏️ add table with show overflow tooltip

#17091
2024-06-07 20:18:47 +08:00
一只前端汪
f45f0b4368 fix(components): [table] return type of function summary-method supports VNode (#16648)
* fix(components): [table] return type of function summary-method

* fix: type
2024-04-25 17:58:14 +08:00
btea
3ff8bbeaf8 chore: format code (#16016) 2024-03-04 22:08:07 +08:00
wzc520pyfm
4f18c6feda docs(components): [table] use new display tag (#15697) 2024-03-01 12:00:45 +08:00
xiaoming
1b7dfacfcb docs(components): [table] add filter-class-name in Table-column (#15391) 2024-01-07 13:30:33 +08:00
Kaine
3e7d3ea7d8 docs(components): add attr version tag (#13641)
1. docs(components): [cascader] add version tag for togglePopperVisible expose

2. docs(components): [color-picker] add version tag for show & hide expose

3. docs(components): [date-picker] add version tag for handleOpen & handleClose method

4. docs(components): [dialog] add version tag for align-center atrr

5. docs(components): [dropdown] add version tag for teleported attr

6. docs(components): [form] add version tag for scroll-into-view-options attr

7. docs(components): [image] add version tag for zoom-rate attr

8. docs(components): [input-number] add version tag for readonly attr

9. docs(components): [menu] add version tag for popper-effect attr

10. docs(components): [message-box] add version tag for append-to attr & message function

11. docs(components): [rate] add version tag for clearable attr

12. docs(components): [select-v2] add max-collapse-tags attr

13. docs(components): [select] add version tag for collapse-tags-tooltip & placement

14. docs(components): [table] fix show-overflow-toolip attr version tag

15. docs(components): [time-picker] add version tag for handleOption & handleClose expose

16. docs(components): [tree-v2] add version tag for item-size attr

17. docs(components): [tree] add version tag for empty slot
2023-08-24 07:43:05 +08:00
yuyin
b9799a1914 feat(components): [Table] add show-overflow-tooltip props (#13169)
* feat(components): [Table] add show-overflow-tooltip props

* docs(components): [Table] add usage for show-overflow-tooltip

* fix(components): [TableColumn] props priority

* test(components): add unit test for table
2023-06-17 21:30:53 +08:00
Xc
76ee456b29 docs(style): use new display tag (#11648)
* docs(style): use new display tag

* docs(components): use new tag
2023-04-09 21:02:49 +08:00
qiang
3d747a0e56 fix(theme-chalk): [table] the cell missing padding style (#11456)
closed #11434
2023-02-07 22:27:10 +08:00
btea
19bb7229fc chore: format code (#11397) 2023-02-02 20:26:00 +08:00
bartoszrudzinski
65a9cca1ed fix(components): default table cell padding SCSS variable fix (#10708)
closed #10706

Co-authored-by: bartoszrudzinski <bartosz.rudzinski@infermedica.com>
2023-01-18 16:29:01 +08:00
Zhongxiang Wang
cf5847263f feat(components): [table] overflow tooltip supports enterable and customization (#10984)
* feat(components): [table] overflow tooltip supports `enterable`

* fix(components): [table] fix modifiers merge

* fix(components): [table] refine logic & fix popperClass isn't respected

* docs(components): [table] add docs for `tooltip-options` & `show-overflow-tooltip`

* docs(components): [table]

* docs(components): [table] update version tag

Co-authored-by: Xc <124118265@qq.com>
2022-12-22 12:20:07 +08:00
LooSheng
91c79c955e docs(ssr): component ssr/ssg usage tips (#10982) 2022-12-15 19:59:34 +08:00
Xc
ec28a63530 docs(components): tag left spacing (#10562)
* Rename using kebab-case
* Adjust component and document spacing
2022-11-12 13:02:47 +08:00
tinyfind
9285109a0c fix(components): [table] fixed column supported in grouped header (#10096)
* 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
2022-10-23 19:56:20 +08:00
qiang
ae67a610bd docs: optimize the format of some types in the document (#9998) 2022-10-05 18:21:36 +08:00
qiang
189c379ddc chore: add attribute enum autosuggestion for WebStorm (#9663) 2022-09-10 09:14:31 +08:00
Chris
cd16beec54 docs: fix typo (#9240)
* docs: fix typo

* chore: update
2022-08-18 11:03:06 +08:00
qiang
d8739fa550 docs(components): [table] wrong default value for resizable (#8092) 2022-06-05 09:52:14 +08:00
류한경
2805cb8aae docs: fix typo (#8078)
* docs: fix typo

* fix: restore text
2022-06-04 06:48:44 +08:00
msidolphin
6f04af6c39 feat(components): [table] ensure minimum-size doesn't follow the content (#7627)
* feat(components): [table] ensure minimum-size doesn't follow the content

* chore: add version tag
2022-05-20 17:57:21 +08:00
bqy_fe
d9e493f4cf docs(components): [table] add empty slot (#7004) 2022-04-09 17:56:51 +08:00
msidolphin
0b8f1cb64b docs: [el-table] add self-close issue (#6923)
* docs: [el-table] add self-close issue

* chore: adjust word

* chore: improve desc
2022-03-31 20:44:05 +08:00
msidolphin
d3756d941e feat(components): [el-scrollbar] expose scrollTo method (#6663)
* feat(components): [el-scrollbar] expose scrollTo method

* chore: improve code
2022-03-31 14:25:58 +08:00
msidolphin
e8ea457f6c docs: [el-table] add FAQ category (#6907)
* docs: [el-table] add FAQ category

* - Update docs/en-US/component/table.md

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-03-31 10:27:06 +08:00
msidolphin
d435a6a6fc feat(components): [el-table] exposes scroll methods (#6539)
* feat(components): [el-table] exposes scroll methods

* chore: improve code
2022-03-13 23:00:58 +08:00