1.1.7 • Published 6 years ago

t-table v1.1.7

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

table组件

移动端table组件,支持左右固定列、排序

用法

npm install t-table --save

import TTable from "t-table"
Vue.use(TTable)

// or 通过<script src="./table.js"></script>

<t-table :data="data" height="300px" width="500px" header-height="30">
    <t-table-column fixed width="120" prop="title" label="标题" sortable></t-table-column>
    <t-table-column fixed width="120" label="#">
        <template slot-scope="scope">
            {{ scope.row.name }}: {{ scope.index }}
        </template>
    </t-table-column>
</t-table>

table props:

table slot

table events

table-column props

table-column slot

1.1.7

6 years ago

1.1.6

6 years ago

1.1.5

6 years ago

1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago