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

vue-cheetah-grid

v1.15.1

Published

Cheetah Grid for Vue.js

Downloads

2,709

Readme

Cheetah Grid - Vue Component

GitHub npm npm npm npm npm Build Status

It supports Vue 2 and Vue 3.

Install using npm

npm install -S vue-cheetah-grid

Usage Examples

<template>

<template>
  <c-grid :data="records" :frozen-col-count="1">
    <!-- define checkbox -->
    <c-grid-check-column field="check" width="50"> </c-grid-check-column>
    <c-grid-column field="personid" width="85"> ID </c-grid-column>
    <!-- multiple headers -->
    <c-grid-column-group caption="Name">
      <c-grid-input-column field="fname" width="20%" min-width="150">
        First Name
      </c-grid-input-column>
      <c-grid-input-column field="lname" width="20%" min-width="150">
        Last Name
      </c-grid-input-column>
    </c-grid-column-group>
    <!-- define button -->
    <c-grid-button-column caption="SHOW REC" width="120" @click="onClickRecord">
    </c-grid-button-column>
  </c-grid>
</template>

Use Components Globally

Vue3:

import { createApp } from "vue";
import CGrid from "vue-cheetah-grid";

const app = createApp(App);

app.use(CGrid);

Vue2:

import Vue from "vue";
import CGrid from "vue-cheetah-grid";

Vue.use(CGrid);

Use Components Locally

<script>
import * as cGridAll from "vue-cheetah-grid";

export default {
  name: "App",
  components: {
    ...cGridAll,
  },
  // ...
};
</script>

Please refer to the documents for details

Available Vue Component tag names

| Component Tag Name | Function | Note | | -------------------------------------- | ------------------------------------------------------------ | ---------------------------------------------------- | | <c-grid> | Grid | --- | | <c-grid-column> | Column definition to display in the grid | --- | | <c-grid-column-group> | Definition of column group when multiple header is displayed | --- | | <c-grid-button-column> | Button column definition | component for button column definition | | <c-grid-check-column> | Checkbox column definition | component for checkbox column definition | | <c-grid-input-column> | Input column definition | component for input column definition | | <c-grid-menu-column> | Menu column definition | component for menu column definition | | <c-grid-link-column> | Link column definition | component for linkable column definition | | <c-grid-icon-column> | Icon column definition | component for icon column definition | | <c-grid-percent-complete-bar-column> | Percent complete bar column definition | component for Percent complete bar column definition |

There are other components available as well.

Please refer also to the Available Vue Components


Please refer to the documents for details

License

See the LICENSE file for license rights and limitations (MIT).