element icon indicating copy to clipboard operation
element copied to clipboard

[Feature Request] Are there some way to customize summary row or display html

Open Chellhooo opened this issue 6 years ago • 5 comments

Existing Component

Component Name

Table

Description

hi~ I want to show total with fixed row at the bottom of table, and it seems the only way is summary row. But I also want to customize content with html, for example, i want to display two-line content in the cell.

Is possible that support summary slot or richtext in summary row?

你好,我想问一下,element现在有方法可以实现table组件最后一行固定的同时,支持自定义cell的内容吗(比如支持多行数据)?

如果可以,希望可以考虑一下支持summary/footer slot,或者可以在summary/footer行支持富文本 ~

Chellhooo avatar Dec 17 '19 11:12 Chellhooo

Translation of this issue:

Existing Component

yes

Component Name

Table

Description

hi~ I want to show total with fixed row at the bottom of table, and it seems the only way is summary row.

But I also want to customize content with html, for example, i want to display two-line content in the cell. Is possible that support summary slot or richtext in summary row?

Hello, I'd like to ask, is there a way for element to fix the last row of table component and support the content of custom cell (for example, support multi row data)? If you can, you want to consider supporting summary / footer slot, or you can support rich text in the summary / footer line~

element-bot avatar Dec 17 '19 11:12 element-bot

Found any solution for this?

eele94 avatar May 13 '20 14:05 eele94

@eele94 Did you manage to figure this out?

motishaku avatar May 25 '21 08:05 motishaku

@eele94 Did you manage to figure this out?

Nope, in the end only used the show-summaries and summary-method(getSummaries) method as described in the documentation

eele94 avatar May 25 '21 11:05 eele94

@motishaku did you find any solution or way around ?

mubasshir avatar May 07 '24 09:05 mubasshir