Socket
Socket
Sign inDemoInstall

@revolist/revogrid-column-date

Package Overview
Dependencies
2
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @revolist/revogrid-column-date

Date column type for RevoGrid system based on duetds-date-picker


Version published
Weekly downloads
1.3K
increased by10.22%
Maintainers
1
Install size
17.9 MB
Created
Weekly downloads
 

Readme

Source

revogrid-column-date

Custom column type for RevoGrid component based on duetds-date-picker library.

Installation

npm i @revolist/revogrid-column-date

How to use

  • Import Select Column type;
  • Specify table data;
  • Per column specify column type;
  • Register your column type;

// do import
import Plugin from "@revolist/revogrid-column-date";

const columns = [{ prop: 'name', columnType: 'date' }];
const rows = [{ name: '2020-08-24' }, { name: '2022-08-24' }];

// register column type
const columnTypes = { 'date': new Plugin() };

// apply data to grid per your framework approach
<revo-grid source={rows} columns={columns} columnTypes={columnTypes}/>

Keywords

FAQs

Last updated on 06 Sep 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc