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
Delyan Haralanov
2b7b566d17
fix(components): [table] compatible with window non-existence ( #19837 )
...
ElTable's doLayout method is debounced and scheduled (relying on setTimeout) which causes problems in testing(Vitest). Sometimes the testing environment(jsdom) is destroyed before doLayout() executes which causes error due to requestAnimationFrame not existing.
To mitigate this issue can check if the window exists which is a good indication that jsdom has not been thorn down yet.
2025-02-14 21:36:41 +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
betavs
f0f578d713
fix(components): [table] repeat setting the height style ( #16054 )
2024-11-15 09:30:51 +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
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
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
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
一只前端汪
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
wzc520pyfm
4f18c6feda
docs(components): [table] use new display tag ( #15697 )
2024-03-01 12:00:45 +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
Masanori Doizaki
4218ef2594
fix(components): [table] fix clearFilter type ( #13149 )
2023-06-08 13:49:13 +00:00
init-qy
e25caadcef
fix(components): [table] add missing append height ( #12676 )
2023-06-03 11:03:55 +08:00
Xc
015ac099cb
fix(components): [table] maxHeight shark ( #12349 )
2023-05-29 20:16:31 +08:00
Jeremy
4c27822ef0
fix(components): circular referencing issue ( #11777 )
...
* fix(components): circular referencing issue
* Move sizes related into hooks.
* Remove size definitions in forms only re-exports.
* chore: fix failing tests
2023-03-01 16:44:09 +08:00
Jeremy
11925c8231
refactor(tokens) - [form] ( #11743 )
...
* refactor(tokens): [form] - remove tokens/form
* Move content in tokens/form to components/form.
* Replace token imports in components/form.
* chore: remove form/tokens and replace imports
* refactor(components): [form/form-item]
* Move `useForm` related hooks to components/form
* Replace references to reduce circular dependencies.
2023-02-27 13:19:20 +08:00
井柏然
9721912342
fix(components): [table-column] column miss update due to key ( #8528 ) ( #10679 )
...
* fix(components): [table-column] column miss update due to key (#8528 )
* fix(components): [table-column] column miss update due to key (#8528 )
* fix(components): [table-column] ts lint (#8528 )
* fix(components): [table-column] column miss update due to key (#8528 )
* fix(components): [table-column] states.updateOrderFns remove ref (#8528 )
* fix(components): [table-column] add test for table (#8528 )
* Update packages/components/table/src/store/watcher.ts
Co-authored-by: qiang <qw13131wang@gmail.com >
* fix(components): [table-column] fix ts define (#8528 )
* fix(components): [table-column] column miss update due to key (#8528 )
---------
Co-authored-by: qiang <qw13131wang@gmail.com >
2023-01-28 10:28:08 +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
RealityBoy
d8a116c37f
fix(components): [table] optimizate types export ( #10677 )
...
* fix(components): [table] optimizate types export
* chore: update
2022-11-20 16:51:04 +08:00
Xc
cb490ae3c1
docs(components): [scrollbar] ( #10564 )
...
* docs(components): [scrollbar]
2022-11-13 19:51:13 +08:00
Simon He
bae2a62ba0
fix(component): [table] row-key due to current-change trigger ( #10060 )
...
fix: table row-key due to current-change trigger
2022-10-18 12:23:29 +08:00
wiidede
5f39b8950c
fix(components): [table] toggleRowExpansion typing ( #9512 )
2022-09-01 09:41:56 +08:00
LIUCHAO
1347fdf35a
fix(components): [table] bodyWrapper resized calculate scrollbarStyle ( #9149 )
...
* fix(components): [table] tableWrapper resized update scrollbar
* fix(components): [table] Listen to the bodyWrapper
* fix(components): [table] fix max-height
* fix(components): [table] modify scrollbar height error
2022-08-25 12:05:31 +08:00
qiang
43a2c69ad1
refactor(components): [table] style of the footer-wrapper ( #9084 )
...
* refactor(components): [table] style of the footer-wrapper
closed #9065
* fix(theme-chalk): [table] optimized style
2022-08-25 12:04:35 +08:00
LIUCHAO
2eee7f0e22
refactor(components): [table] fix typo ( #9338 )
2022-08-16 20:35:49 +08:00
qiang
664c61936c
fix(components): [table] the empty slot height error ( #9226 )
2022-08-11 16:54:47 +08:00
qiang
f1af909ef6
fix(components): [table] header scroll height error ( #9063 )
2022-07-28 17:38:15 +08:00
LIUCHAO
d9b31491e0
style(components): [table] prettier format, no code changes ( #8318 )
2022-07-27 12:53:51 +08:00
Zhongxiang Wang
cabc943003
fix(components): [table] fix maxHeight doesn't consider footer height ( #9011 )
2022-07-26 21:41:11 +08:00
Xc
7258ee3bb2
fix(components): [table] spanMethod check return type ( #8844 )
2022-07-17 23:14:14 +08:00
msidolphin
d365ad811e
refactor(components): [el-table] using flex to refactor table ( #8690 )
2022-07-11 02:08:21 +08:00
三咲智子
7097940f4a
refactor: add ts-nocheck and check all files ( #8401 )
2022-06-22 08:04:42 +08:00
Carter Li
8413f8ea31
refactor(components): use useResizeObserver ( #8124 )
2022-06-08 02:04:48 +08:00
msidolphin
742bc0d192
fix(components): [el-table] hide tooltip when table is scrolling ( #8012 )
2022-06-02 10:58:44 +08:00
qiang
21a1c24f58
fix(components): [table] the scrollbar not change ( #7905 )
2022-05-30 08:35:28 +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
joson
b0e62faf79
style(components): [table] clean code ( #7309 )
...
Co-authored-by: hezhaoshun <hezhaoshun@cmcm.com >
2022-04-22 10:50:11 +08:00
hminghe
3d3621698f
fix(components): [table] fix SummaryMethod type ( #7206 )
2022-04-18 14:28:44 +08:00
Zhongxiang Wang
41df8b724c
fix(components): [el-table] use table width as empty block width ( #6694 )
...
* fix(components): [table] fix wrong table width is set to resizeState
* fix(components): [table] add tableWidth as empty block width
2022-03-31 15:32:22 +08:00
三咲智子
184facdb4c
chore: add eslint rule sort imports ( #6823 )
2022-03-25 15:35:56 +08:00
Zhongxiang Wang
9843fb1d69
fix(components): [table] not scroll empty block when scrolling table ( #6615 )
...
* fix(components): [table] not scroll empty block when scrolling table
* fix(components): [table] fix unexpected gap
* fix(components): [table] fix unexpected gap
2022-03-16 10:47:30 +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
msidolphin
254eacd7da
perf(components): [el-table] optimize the performance of expand rows ( #6480 )
...
* perf(components): [el-table] optimize the performance of expand rows
* chore: revert comments
* chore: remove useless code
* chore: rename
* Update packages/components/table/src/table-body/render-helper.ts
Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com >
Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com >
2022-03-10 16:45:08 +08:00
msidolphin
505616c2ab
feat: [el-table] support always show scrollbar & get selection rows ( #6469 )
2022-03-08 14:28:58 +08:00
msidolphin
a7db76d782
fix: [el-table] fixed columns display when horizontal cannot scroll ( #6320 )
...
* fix: [el-table] fixed columns display when horizontal cannot scroll
* fix: change default class
* refactor: optimize fixed column style
2022-03-07 16:17:16 +08:00