25 lines
544 B
Vue
25 lines
544 B
Vue
<template>
|
|
<div class="app-container">
|
|
<div style="margin: 0 0 5px 20px">
|
|
Fixed header, sorted by header order,
|
|
</div>
|
|
<fixed-thead />
|
|
|
|
<div style="margin: 30px 0 5px 20px">
|
|
Not fixed header, sorted by click order
|
|
</div>
|
|
<unfixed-thead />
|
|
</div>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import FixedThead from "./components/FixedThead.vue";
|
|
import UnfixedThead from "./components/UnfixedThead.vue";
|
|
|
|
defineOptions({
|
|
// eslint-disable-next-line
|
|
name: "DynamicTable",
|
|
inheritAttrs: false,
|
|
});
|
|
</script>
|