All Projects → vaheqelyan → react-keyview

vaheqelyan / react-keyview

Licence: MIT license
React components to display the list, table, and grid, without scrolling, use the keyboard keys to navigate through the data

Programming Languages

typescript
32286 projects
HTML
75241 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to react-keyview

Jquery Rslitegrid
Input tabular data with your keyboard
Stars: ✭ 5 (-68.75%)
Mutual labels:  keyboard, grid, table, tabular-data
React Spreadsheet Grid
An Excel-like grid component for React with custom cell editors, performant scroll & resizable columns
Stars: ✭ 996 (+6125%)
Mutual labels:  keyboard, grid, table
Handycontrols
Contains some simple and commonly used WPF controls based on HandyControl
Stars: ✭ 347 (+2068.75%)
Mutual labels:  components, navigation
Re Jok
A React UI Component library built with styled-components
Stars: ✭ 102 (+537.5%)
Mutual labels:  components, grid
Metago
MetaGo provides fast cursor movement/selection for keyboard focused users in vscode
Stars: ✭ 151 (+843.75%)
Mutual labels:  keyboard, navigation
Griddle
Simple Grid Component written in React
Stars: ✭ 2,494 (+15487.5%)
Mutual labels:  grid, table
Blazortable
Blazor Table Component with Sorting, Paging and Filtering
Stars: ✭ 249 (+1456.25%)
Mutual labels:  grid, table
Ngrid
A angular grid for the enterprise
Stars: ✭ 157 (+881.25%)
Mutual labels:  grid, table
react-datasheet-grid
An Airtable-like / Excel-like component to create beautiful spreadsheets.
Stars: ✭ 227 (+1318.75%)
Mutual labels:  grid, table
react-keyevent
An easy-to-use keyboard event react component, Package size less than 3kb
Stars: ✭ 38 (+137.5%)
Mutual labels:  keyboard, keys
BeeGridTable
BeeGridTable , is a Highly Customizable Table UI component library based on Vue.js. Rich functions、More efficient、Easy to use!
Stars: ✭ 45 (+181.25%)
Mutual labels:  grid, table
React Table
⚛️ Hooks for building fast and extendable tables and datagrids for React
Stars: ✭ 15,739 (+98268.75%)
Mutual labels:  grid, table
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 (+15531.25%)
Mutual labels:  grid, table
Blueprint
A React-based UI toolkit for the web
Stars: ✭ 18,376 (+114750%)
Mutual labels:  components, table
Angular Handsontable
Angular Data Grid with Spreadsheet Look & Feel. Official Angular wrapper for Handsontable.
Stars: ✭ 175 (+993.75%)
Mutual labels:  grid, table
fastapi-csv
🏗️ Create APIs from CSV files within seconds, using fastapi
Stars: ✭ 46 (+187.5%)
Mutual labels:  table, tabular-data
Tui.grid
🍞🔡 The Powerful Component to Display and Edit Data. Experience the Ultimate Data Transformer!
Stars: ✭ 1,859 (+11518.75%)
Mutual labels:  grid, tabular-data
Grid
Declarative React Canvas Grid primitive for Data table, Pivot table, Excel Worksheets and more 💥
Stars: ✭ 573 (+3481.25%)
Mutual labels:  grid, table
react-bolivianite-grid
React grid component for virtualized rendering large tabular data.
Stars: ✭ 95 (+493.75%)
Mutual labels:  grid, table
streamlit-aggrid
Implementation of Ag-Grid component for Streamlit
Stars: ✭ 465 (+2806.25%)
Mutual labels:  grid, table

react-keyview


Installation


via NPM

npm i react-keyview

via Yarn

yarn add react-keyview

via CDN (unpkg)

https://unpkg.com/react-keyview@latest

UMD library exposed as ReactKeyView

const KV = ReactKV;

Note. This package does not provide any stylesheet resources, the components are highly customizable. It is also supports Server-side rendering

Demos

Usage

You can import any component you want as a named export from 'react-keyview', eg.

import { Grid, Table } from "react-keyview";

Or you can directly import only the components you need, like so.

import Grid from "react-keyview/build/Grid";
import Table from "react-keyview/build/Table";

UMD modules has prefix ReactKV, eg.

const Grid = ReactKVGrid;
const List = ReactKVList;

List


function renderRow(rowIndex, currentIndex) {
  return <div>{rowIndex}</div>;
}

<List renderRow={this.renderRow} count={YOUR_DATA.length} visibleCount={5} rowHeight={50} />;
Prop Type Description
renderRow Function Renders a single row
count Number Number of elements
rowHeight Number Row height
visibleCount Number The visible elements count
dom Object Pass attributes to an HTML element

Table


function renderHeader(item) {
  return item;
}
function renderRowColumn(i, j) {
  var getRowColumn = DATA[i][header[j]];
  return <td key={UNIQUE_KEY}>{getRowColumn}</td>;
}

function renderRow(rowIndex, currentIndex, col) {
  return <tr key={UNIQUE_KEY}>{col}</tr>;
}

<Table
  header={header}
  renderHeader={this.renderHeader}
  renderRow={this.renderRow}
  columnCount={3}
  count={YOUR_DATA.length}
  visibleCount={5}
  rowHeight={50}
  renderRowColumn={this.renderRowColumn}
/>;
Prop Type Description
visibleCount Number Number of visible rows
count Number Number of rows
header Array Must be an array of strings
renderHeader Function Number of visible columns
renderRow Function Renders row
renderRowColumn Function Renders the columns of the row
dom Object Pass attributes to an HTML element

Grid


function renderer({ rowIndex, columnIndex, yIndex, xIndex }) {
  return (
    <td key={UNIQUE_KEY}>
      Item {columnIndex},{rowIndex}
    </td>
  );
}

<Grid
  renderer={this.renderer}
  visibleRows={6}
  rowCount={100}
  rowWidth={30}
  columnCount={100}
  visibleColumns={6}
  columnHeight={50}
/>;
Prop Type Description
columnCount Number Number of columns
visibleColumns Number Number of visible columns
rowCount Number Number of lines
visibleRows Number Number of visible rows
renderer Function Displays the row and column
dom Object Pass attributes to an HTML element
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].