All Projects → hunterae → vue-table-for

hunterae / vue-table-for

Licence: MIT license
Easily build a table for your records

Programming Languages

javascript
184084 projects - #8 most used programming language
Vue
7211 projects
shell
77523 projects

Projects that are alternatives of or similar to vue-table-for

Vxe Table
🐬 vxe-table vue 表格解决方案
Stars: ✭ 4,242 (+12754.55%)
Mutual labels:  vue-table, table
V2 Table
A simple table component based Vue 2.x: https://dwqs.github.io/v2-table/
Stars: ✭ 96 (+190.91%)
Mutual labels:  table, vuejs-components
Vue Easytable
🍉 Table Component/ Data Grid / Data Table.Support Virtual Scroll,Column Fixed,Header Fixed,Header Grouping,Filter,Sort,Cell Ellipsis,Row Expand,Row Checkbox ...
Stars: ✭ 2,501 (+7478.79%)
Mutual labels:  vue-table, table
ag-grid
The best JavaScript Data Table for building Enterprise Applications. Supports React / Angular / Vue / Plain JavaScript.
Stars: ✭ 8,743 (+26393.94%)
Mutual labels:  vue-table, table
agel-table
element-ui table 的二次封装,保持灵活性,极简的思想,更少的代码,更多的功能,更快速的开发 ⬆⬆⬆
Stars: ✭ 26 (-21.21%)
Mutual labels:  vue-table, table
react-tisch
Table component for React and Bootstrap with real React components as cells
Stars: ✭ 17 (-48.48%)
Mutual labels:  table
vue3-table-lite
A simple and lightweight data table component for Vue.js 3. Features sorting, paging, row check, dynamic data rendering, supported TypeScript, and more.
Stars: ✭ 148 (+348.48%)
Mutual labels:  table
editable-react-table
React table built to resemble a database.
Stars: ✭ 519 (+1472.73%)
Mutual labels:  table
DTE
Generate C# class from database table
Stars: ✭ 26 (-21.21%)
Mutual labels:  table
obj-to-table
Create a table from an array of objects
Stars: ✭ 15 (-54.55%)
Mutual labels:  table
terminal-columns
Render readable & responsive tables in the terminal
Stars: ✭ 27 (-18.18%)
Mutual labels:  table
Table-Detection-using-Deep-Learning
Table Detection using Deep Learning
Stars: ✭ 24 (-27.27%)
Mutual labels:  table
ediTable
Manipulation of table (sort, add, edit, remove, etc... - rows | valid cells, type, require, etc... cells )
Stars: ✭ 14 (-57.58%)
Mutual labels:  table
python-realtime-table
Building realtime table using Python and Channels
Stars: ✭ 12 (-63.64%)
Mutual labels:  table
react-loading-placeholder
Loading placeholer, inspired by Facebook
Stars: ✭ 17 (-48.48%)
Mutual labels:  table
vueNotification
Notification plugin for VuesJS
Stars: ✭ 52 (+57.58%)
Mutual labels:  vuejs-components
medium-toc
Easily create a table of contents for your Medium articles in just one click. ✨
Stars: ✭ 33 (+0%)
Mutual labels:  table
react-native-simple-table
A simple table for react native.
Stars: ✭ 32 (-3.03%)
Mutual labels:  table
mini-program-table
基于 WePY 实现的固定头和列的 table 组件,可根据自身需求进行修改扩展。
Stars: ✭ 14 (-57.58%)
Mutual labels:  table
termtables
🖥️ Pretty tables in the terminal
Stars: ✭ 85 (+157.58%)
Mutual labels:  table

vue-table-for

npm version

Installation

Yarn:

yarn add vue-table-for

Npm:

npm install vue-table-for

CDN: UNPKG | jsDelivr

Usage

First you need to load vue-table-for somewhere in your app:

import Vue from 'vue'
import TableFor from 'vue-table-for'
Vue.use(TableFor)

DEMO

LIVE DEMO for examples.

Components

TableFor

Builds a table for a collection of records.

Only the data columns are required. Header columns will be automatically generated based on the data columns but can be overridden using slots.

<template>
  <table-for
    class="table table-bordered"
    :records="records"
  >
    <td name="first_name" />
    <td name="last_name" />
    <td name="email" />
  </table-for>
</template>

<script>
import Axios from 'axios'
export default {
  data() {
    return {
      records: []
    }
  },
  mounted() {
    axios
      .get(
        "https://raw.githubusercontent.com/hunterae/vue-table-for/master/examples/people.json"
      )
      .then(response => {
        this.records = response.data
      })
  }
}
</script>

More documentation coming soon

Coming Soon

  • Tests
  • More documentation and examples (including the TableFor API)
  • Ability to specify table columns as a prop
  • Globally apply options to each data column
  • Sorting utilities and abilities for each column
  • Styling and overrides for the pagination links
  • Filtering utilities
  • Ability to provide slots in relation to various hooks provided throughout the component (integration with vue-slot-hooks - wip plugin)
  • Install plugin with a global instance of Vue (i.e. not as plugin using Vue.use(TableFor))
  • Release notes and tagged versions in Git

Acknowledgements

vue-table-for is more-or-less a direct port over of my Ruby on Rails' table-for Gem, which spawned out of my Ruby on Rails' blocks Gem. Upon learning VueJS, I realized that a ton of the concepts could be reused (and possibly improved) using VueJS syntax.

I also thank Fernando Garcia for recommending VueJS in the first place, helping me learn a lot of the ins and outs, and also acting as a collaborator for this plugin.

I studied the vue-fullscreen plugin and reproduced a lot of similar approaches for how that plugin is setup, particularly with how it is used to create its own documentation and examples.

I also followed used approaches from these two articles How to create, publish and use your own VueJS Component library on NPM using @vue/cli 3.0 and Writing a very simple plugin in Vue.js - (Example) in learning how to create a VueJS plugin.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].