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 🙏

© 2026 – Pkg Stats / Ryan Hefner

vista-table-react

v1.1.10

Published

Coderz point demo page

Downloads

82

Readme

Vista Table React

Vista table react is React table component which can be setup very easily. One can simply use Vista table react and reduce the burden of writing lot many lines of javascript code to achieve table functionality.


Installation

$ npm i vista-table-react
$ yarn add vista-table-react

Key notes

  • Easy installation.
  • Quick customization.
  • Filter the data very easily, supports type like date, number.
  • Pagination
  • Classy look for the table.
  • Table with 3 themes available --> Classic, Dark and Basic
  • Coders Point Team is ready to help and resolve the issue whenever needed.

Implementation instructions

import React from "react";
import { VistaTable } from "vista-table-react";

const ReactComponent = () => {
    const SAMPLE_HEADER = [
        {key:"date_column", title: "Date", type: "date", format: "DD/MM/YYYY", sorting: false},
        {key:"column1", title: "Column 1", filter: false},
        {key:"column2", title: "Column 2", type: "number"},
        {key:"column3", title: "Column 3", filter: true}
    ];

    const CONFIG = {
        pagination: true,
        itemsPerPage: 8,
        filter: true,
        sorting: true
    }
    const SAMPLE_DATA = [
        {"date_column":"1/6/2021", "column1":"Test", "column2":5,"column3":"sample 1"},
        {"date_column":"2/6/2021", "column1":"Test1", "column2":6,"column3":"sample 2"},
        {"date_column":"3/6/2021", "column1":"Test2", "column2":7,"column3":"sample 2"},
    ];
    return (
        <VistaTable headers={SAMPLE_HEADER} data={SAMPLE_DATA} className="classic" config={CONFIG}/>
    );
}
export default ReactComponent;

Props details

Props | Oject Keys | Accepted Values | Default values | Description ------------ | ------------- | ------------ | ------------- | ------------- #header | #Array of Object | | | Array of headers to be passed as props. Below is the accepted array key valye pairs .| key | string | Mandatory* | unique value .| title | string | Mandatory* |title to show in the column name .|filter | boolean -> true/false | true | false if filter is not needed for column .|sort | boolean -> true/false | true | false if sorting is not required for column .| hidden | boolean -> true/false | false | true if column need to be hidden (in-progress) .| type | string -> string, number, date | string | type of the column .| format | string | DD/MM/YYYY | format of the date if the type is date #data | # Array of object | | | Array of objects matching the key in header (key) --> [{"key":""}] #className | string | classic/dark/empty | | style for the table "classic" for classic table, "" for basic table, "dark" for dark theme #config | # Object | | | .|pagination | boolean -> true/false | false | set to true if Pagination is required .|itemsPerPage | number |Mandatory* if pagination is true | tells the number of rows per page .|filter | boolean -> true/false | false | set to true if filter is required for table .|sorting | boolean -> true/false | false | set to true if sorting is required for table

Demo

I'm sure I will develop a better demo page, but for now a simple demo page is here. to show the vista table look and feel.

Feel free to contact us for any help.


Contributors

Coderz Point

License

Licensed under MIT