@cmds/grid-view

0.2.0 • Public • Published

GridView GridView

npm package

Used for displaying records in a grid like a spreadsheet.

GridView

Getting started

npm install @cmds/grid-view --save

Prop Types

Property Type Required? Description
id String Unique id for the instance of this view
rowCount Number The amount of rows to be rendered
rowGetter Function Return row data for the index ({index: number})
fieldRenderer Function Callback invoked whenever one of the cells get's rendered: ({index: number}): jsx
fields Array Array of fields to be displayed as columns

Field

Property Type Required? Description
id String Unique id for the field
name String Name to be displayed as column name

More information

This component is designed and developed as part of Cosmos Design System.

Readme

Keywords

Package Sidebar

Install

npm i @cmds/grid-view

Weekly Downloads

3

Version

0.2.0

License

MIT

Unpacked Size

16.8 kB

Total Files

5

Last publish

Collaborators

  • entercosmos