vue-easytable
| Install | |
|---|---|
npm install vue-easytable |
|
| Latest Version: | 2.27.1 |
| Vue: | 2 · 3 |
| License: | MIT |
| Last Updated: | Jun 26, 2024 |
| Links: | GitHub · npm |
vue-easytable
English | 中文
Sponsors
Support this project by becoming a sponsor. Your logo or name will show up here with a link you provided. Become a sponsor
Introduction
A powerful data table based on vue2.x You can use it as data grid、Microsoft Excel or Google sheets. It supports virtual scroll、cell edit etc.
Characteristics
- Support 300000 rows of data display through virtual scroll
- Free forever. Of course, you can also choose to donate
API & Examples
Features
Base components
Table component
- Internationalization
- Theme Custom & Built in theme
- Virtual Scroll
- Column Fixed
- Column Hidden
- Header Fixed
- Header Grouping
- Filter
- Sort
- Column Resize
- Cell Style
- Cell Custom
- Cell Span
- Cell Selection(keyboard operation)
- Cell Autofill
- Cell Edit
- Clipboard
- Contextmenu
- Cell Ellipsis
- Row Radio
- Row Checkbox
- Row Expand
- Row Style
- Footer Summary
- Event Custom
- More
If there is no feature you want, Please Tell Us
Install
npm install vue-easytable
or
yarn add vue-easytable
Usage
Write the following in main.js:
import Vue from "vue";
import "vue-easytable/libs/theme-default/index.css";
import VueEasytable from "vue-easytable";
Vue.use(VueEasytable);
new Vue({
el: "#app",
render: (h) => h(App),
});
Example:
<template>
<ve-table :columns="columns" :table-data="tableData" />
</template>
<script>
export default {
data() {
return {
columns: [
{ field: "name", key: "a", title: "Name", align: "center" },
{ field: "date", key: "b", title: "Date", align: "left" },
{ field: "hobby", key: "c", title: "Hobby", align: "right" },
{ field: "address", key: "d", title: "Address" },
],
tableData: [
{
name: "John",
date: "1900-05-20",
hobby: "coding and coding repeat",
address: "No.1 Century Avenue, Shanghai",
},
{
name: "Dickerson",
date: "1910-06-20",
hobby: "coding and coding repeat",
address: "No.1 Century Avenue, Beijing",
},
{
name: "Larsen",
date: "2000-07-20",
hobby: "coding and coding repeat",
address: "No.1 Century Avenue, Chongqing",
},
{
name: "Geneva",
date: "2010-08-20",
hobby: "coding and coding repeat",
address: "No.1 Century Avenue, Xiamen",
},
{
name: "Jami",
date: "2020-09-20",
hobby: "coding and coding repeat",
address: "No.1 Century Avenue, Shenzhen",
},
],
};
},
};
</script>
Todo List
Environment Support
- Modern browser and ie11 and above
| IE / Edge | Firefox | Chrome | Safari | Opera |
|---|---|---|---|---|
| IE11, Edge | last 2 versions | last 2 versions | last 2 versions | last 2 versions |
How to contribute
If you want to contribute,just create a Pull Request
Contributors
Thanks to the following friends for their contributions 🙏
Discussion group
License
Related Packages
A powerful data table based on canvas. You can use it as data grid、Microsoft Ex...
Vue components for efficiently rendering large, scrollable lists and tabular dat...
Version History
| Version | Released | License |
|---|---|---|
| 2.27.1 | MIT | |
| 2.27.0 | MIT | |
| 2.26.0 | MIT | |
| 2.25.0 | MIT | |
| 2.24.0 | MIT | |
| 2.23.0 | MIT | |
| 2.22.0 | MIT | |
| 2.21.11 | MIT | |
| 2.21.10 | MIT | |
| 2.21.9 | MIT | |
| 2.21.8 | MIT | |
| 2.21.7 | MIT | |
| 2.21.6 | MIT | |
| 2.21.5 | MIT | |
| 2.21.4 | MIT | |
| 2.21.3 | MIT | |
| 2.21.2 | MIT | |
| 2.21.1 | MIT | |
| 2.21.0 | MIT | |
| 2.20.2 | MIT | |
| 2.20.1 | MIT | |
| 2.20.0 | MIT | |
| 2.19.1 | MIT | |
| 2.19.0 | MIT | |
| 2.18.3 | MIT | |
| 2.18.2 | MIT | |
| 2.18.1 | MIT | |
| 2.18.0 | MIT | |
| 2.17.3 | MIT | |
| 2.17.2 | MIT |
Showing the latest 30 of 127. See every release on npm
Pre-releases (12)
| Version | Released | License |
|---|---|---|
| 2.18.0-beta.10 | MIT | |
| 2.18.0-beta.9 | MIT | |
| 2.18.0-beta.8 | MIT | |
| 2.18.0-beta.7 | MIT | |
| 2.18.0-beta.6 | MIT | |
| 2.18.0-beta.5 | MIT | |
| 2.18.0-beta.3 | MIT | |
| 2.18.0-beta.2 | MIT | |
| 2.18.0-beta.1 | MIT | |
| 2.8.0-alpha.1 | MIT | |
| 2.5.3-beta.1 | MIT | |
| 2.0.0-beta.1 | MIT |