npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

vxe-table-new

v2.9.322

Published

一个基于 vue 的 PC 端表格组件,支持增删改查、虚拟滚动、懒加载、快捷菜单、数据校验、树形结构、打印导出、表单渲染、数据分页、虚拟列表、模态窗口、自定义模板、渲染器、贼灵活的配置项、扩展接口等...

Downloads

24

Readme

vxe-table

简体中文 | English

gitee star npm version npm build npm downloads gzip size: JS gzip size: CSS
issues issues closed pull requests pull requests closed npm license

A vue based PC form component, support add, delete, change, virtual scroll, lazy load, shortcut menu, data validation, tree structure, print export, form rendering, data paging, virtual list, modal window, custom template, renderer, flexible configuration items, extension interface, etc...

  • Design concept

    • Efficient and concise API design for modern browsers
    • Modular tables, on-demand loading, extended interfaces
    • Designed for single row table editing, supports addition, deletion, modification and query as well as more expansion, with powerful functions and performance at the same time
  • Donation

    • [x] v1.0 100% Based on vue2.6+, it supports all mainstream browsers and realizes all practical functions of tables
    • [x] v2.0  100% Based on vue2.6+, it supports all mainstream browsers with both functions and performance
    • [x] v3.0   70% Based on vue2.6+, only H5 browser is supported, ie is not supported, rendering performance is greatly improved
    • [ ] v4.0   0% Based on vue3+, only H5 browser is supported, ie is not supported, rendering performance is greatly improved

👉 If you have a better suggestion, optimization point or Bug, please feel free to ask Issues

Browser Support

IE | Edge | Chrome | Firefox | Opera | Safari --- | --- | --- | --- | --- | --- | 11+ ✔ | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ |

Features

  • [x] Basic table
  • [x] Grid
  • [x] Striped
  • [x] Table with border
  • [x] Cell style
  • [x] Column resizing
  • [x] Maximum table height
  • [x] Resize height & width
  • [x] Fixed column
  • [x] Grouping table header
  • [x] Table footer
  • [x] Highlight row & column
  • [x] Table sequence
  • [x] Radio
  • [x] Checkbox
  • [x] Select
  • [x] Switch
  • [x] Sorting
  • [x] Filter
  • [x] Merged cells
  • [x] Merged footer items
  • [x] Import
  • [x] Export
  • [x] Print
  • [x] Show/Hide column
  • [x] Loading
  • [x] Formatted cell
  • [x] Slot - template
  • [x] Context menu
  • [x] Detail - Expandable row
  • [x] Pager
  • [x] Form
  • [x] Toolbar
  • [x] Pulldown
  • [x] List
  • [x] Editable CRUD
  • [x] Tree table
  • [x] Validate
  • [x] Data Proxy
  • [x] Keyboard navigation
  • [x] Modal
  • [x] Renderer
  • [x] Virtual Scroller
  • [x] (pro) Cell area selection
  • [x] (pro) Cell copy & paste
  • [x] (pro) Cell find and replace

Modules

  • Core
    • TableMethodsBodyCellstyle
  • Modules
    • Icon
    • Headerstyle
    • Footerstyle
    • FilterPanelstyle
    • MenuPanelstyle
    • Exportstyle
    • Keyboard
  • Component
    • Gridstyle
    • Column
    • Liststyle
    • FormFormItemstyle
    • Pagerstyle
    • Toolbarstyle
    • Tooltipstyle
    • Checkboxstyle
    • Radio style
    • Inputstyle
    • SelectOptgroupOptionstyle
    • Switch style
    • Modalstyle
    • Buttonstyle
    • Pulldownstyle
  • Plugins
    • Strengthen
      • vxe-table-plugin-export-pdf
      • vxe-table-plugin-export-xlsx
      • vxe-table-plugin-menus
    • Adapter
      • vxe-table-plugin-elementstyle
      • vxe-table-plugin-iviewstyle
      • vxe-table-plugin-antdstyle

Installing

Dependent: vue 2.6+, xe-utils 2.7+

npm install xe-utils vxe-table

Get on unpkg and cdnjs

npm

import Vue from 'vue'
import 'xe-utils'
import VXETable from 'vxe-table'
import 'vxe-table/lib/index.css'

Vue.use(VXETable)

CDN

<!-- Style -->
<link rel="stylesheet" href="https://unpkg.com/vxe-table/lib/index.css">
<!-- Script -->
<script src="https://unpkg.com/xe-utils"></script>
<script src="https://unpkg.com/vxe-table"></script>
<!-- It is recommended that users introduced by CDN lock the version on the link address to avoid the impact of incompatible updates -->

Example

<template>
  <div>
    <vxe-table :data="tableData">
      <vxe-table-column type="seq" title="Seq" width="60"></vxe-table-column>
      <vxe-table-column field="name" title="Name"></vxe-table-column>
      <vxe-table-column field="sex" title="Sex"></vxe-table-column>
      <vxe-table-column field="address" title="Address"></vxe-table-column>
    </vxe-table>
  </div>
</template>

<script>
export default {
  data () {
    return {
      tableData: [
        { id: 10001, name: 'Test1', role: 'Develop', sex: 'Man', address: 'Shenzhen' },
        { id: 10002, name: 'Test2', role: 'Test', sex: 'Man', address: 'Guangzhou' },
        { id: 10003, name: 'Test3', role: 'PM', sex: 'Man', address: 'Shanghai' }
      ]
    }
  }
}
</script>

Docs

💡 User guide
👉 View example
👉 View API

Donation

If you feel that our open source software is helpful to you, please scan the QR code below to enjoy a cup of coffee.☕

Because maintaining an open source project takes a lot of effort and time, if you are using the project, your donation will help keep the project going.
👉 This component is helpful to me and I would like to donate it💰

License

MIT © 2019-present, Xu Liangzhan