Element: How to set height 100% with el-table

Created on 3 Mar 2018  ·  1Comment  ·  Source: ElemeFE/element

Existing Component

Yes

Component Name

el-table

Description

It would be useful to have the ability to set a liquid height (like 100%) on a table. This way if data overflows, the header can be sticky as the user scrolls

table question

>All comments

@martin-wiseweb Just set height prop as style.height value, Demo . Tips: This works only when style.height="value" works as expect.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

smallpath picture smallpath  ·  3Comments

dbskccc picture dbskccc  ·  3Comments

no5no6 picture no5no6  ·  3Comments

makunsusu picture makunsusu  ·  3Comments

gengxuelei picture gengxuelei  ·  3Comments