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 🙏

© 2025 – Pkg Stats / Ryan Hefner

vue-grid-canvas

v1.1.9

Published

A vue component, it can generate a similar excel form for you

Readme

vue-grid-canvas

a vue component,基于vue的表格组件,主要解决大数据量的表格渲染性能问题,使用canvas绘制表格,同时支持类似excel的批量选中,复制黏贴删除,实时编辑等功能,目前还在不断努力完善中,希望大家支持下,你们的star就是我的动力。有任何建议或帮助,可以邮件联系:[email protected]

vue-grid-canvas

Install

NPM / Yarn

Install the package:

npm install vue-grid-canvas --save

Then import it in your project

import Vue from 'vue'
import Grid from 'vue-canvas-grid'

Vue.component('grid', Grid)

Usage

Simply use it like so:

<grid :grid-data="data" :columns="columns" showCheckbox columnSet></grid>

##公式(‘=’开头,只支持toolbar上输入框填写):

Example:

=include(1-3,5)=>h*1.1 & include(4,6--)=>i*1.2 
  • 1,支持多个公式拼接(‘&’)
  • 2,支持区域自定义选择(‘区域=>公式’)
  • 3,区域选择支持include,exclude(include可以省略,exclude可简写‘!’)
  • 4,区域选择括号内内容,‘-’为区间,‘,’为并集
  • 5,选中单列区域自动显示批量编辑按钮,点击自动填写公式

Description

  • 1,通过canvas实现,能处理万级数据
  • 2,类似excel,选中单元格并实时编辑
  • 3,复制黏贴,支持批量,从excel复制,复制到excel都可以
  • 4,撤销/前进
  • 5,checkbox勾选框,全选功能,可开关
  • 6,固定列(目前只支持固定到右侧)
  • 7,删除单元格,支持批量
  • 7,支持文本的重新计算渲染(通过计算的单元格不支持实时编辑)
  • 8,支持基础按钮显示及点击事件
  • 9,隐藏列功能,可开关
  • 10,基础公式计算

##TODO:

  • 1,由于使用canvas不支持浏览器的检索功能,以后加上表格的搜索功能
  • 2,行列拖拽
  • 3,基本公式计算(部分)

运行项目DEMO


npm install

npm run dev