el-table-sticky

Element ui table Head always stick to the top of the screen

Usage no npm install needed!

<script type="module">
  import elTableSticky from 'https://cdn.skypack.dev/el-table-sticky';
</script>

README

el-table-sticky

Directive of Element ui Table Head Stick

Demo:

demo

Usage

npm i el-table-sticky -S
import Vue from 'vue'
import stickyDirective from 'el-table-sticky'

Vue.use(stickyDirective)
<el-table v-head-stick></el-table>

Notice

At present, the usage of the directive only support table preview, while the column checkbox mode and the column fixed mode is not supported