
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
react-frame-datagrid
Advanced tools
[](https://badge.fury.io/js/react-frame-datagrid) [](https://www.npmjs.com/package/react-frame-datagrid)
npm i react-frame-datagrid
npm i
npm run dev
Open http://localhost:3000 with your browser to see the result.
import 'react-frame-datagrid/style.css';
or
Add the code below to your project.
[role="react-frame-datagrid"] {
--rfdg-primary-color: #3B82F6;
--rfdg-header-bg: #F3F4F5;
--rfdg-header-color: #222;
--rfdg-header-font-weight: 500;
--rfdg-header-hover-bg: #e2e5e5;
--rfdg-header-group-bg: #e9e9e9;
--rfdg-footer-bg: #F3F4F5;
--rfdg-border-color-base: #D2D5D9;
--rfdg-border-radius: 4px;
--rfdg-row-selector-color: #ffffff;
--rfdg-body-bg: #ffffff;
--rfdg-body-hover-bg: #F3F4F5;
--rfdg-body-color: #444;
--rfdg-scroll-size: 11px;
--rfdg-scroll-track-bg: #F9F9F9;
--rfdg-scroll-thumb-radius: 6px;
--rfdg-scroll-thumb-bg: #c0c1c5;
--rfdg-scroll-thumb-hover-bg: #a1a3a6;
--rfdg-loading-bg: rgba(163, 163, 163, 0.1);
--rfdg-loading-color: rgba(0, 0, 0, 0.1);
--rfdg-loading-second-color: #767676;
}
import * as React from 'react';
import styled from '@emotion/styled';
import {RFDataGrid, RFDGColumn} from 'react-frame-datagrid';
interface Props {
}
interface IListItem {
id: string;
title: string;
writer: string;
createAt: string;
}
const list = Array.from(Array(1000)).map((v, i) => ({
values: {
id: `ID_${i}`,
title: `title_${i}`,
writer: `writer_${i}`,
createAt: `2022-09-08`,
},
}));
function BasicExample(props: Props) {
const [columns, setColumns] = React.useState<RFDGColumn<IListItem>[]>([
{
key: 'id',
label: '아이디 IS LONG !',
width: 100,
},
{
key: 'title',
label: '제목',
width: 300,
itemRender: item => {
return `${item.writer}//${item.title}`;
},
},
{
key: 'writer',
label: '작성자',
width: 100,
itemRender: item => {
return `${item.writer}//A`;
},
},
{
key: 'createAt',
label: '작성일A',
width: 100,
},
{
key: 'createAt',
label: '작성일B',
width: 100,
},
{
key: 'createAt',
label: '작성일C',
width: 100,
},
{
key: 'createAt',
label: '작성일D',
width: 100,
},
{
key: 'createAt',
label: '작성일E',
width: 100,
},
]);
return (
<Container>
<RFDataGrid<IListItem>
width={600}
height={400}
data={list}
columns={columns}
onChangeColumns={(columnIndex, width, columns) => {
console.log('onChangeColumnWidths', columnIndex, width, columns);
setColumns(columns);
}}
rowSelection={{
selectedIds: [],
onChange: (ids, selectedAll) => {
console.log('onChange rowSelection', ids, selectedAll);
},
}}
/>
</Container>
);
}
const Container = styled.div`
font-size: 13px;
`;
export default BasicExample;
TBD Examples
FAQs
[](https://badge.fury.io/js/react-frame-datagrid) [](https://www.npmjs.com/package/react-frame-datagrid)
We found that react-frame-datagrid demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.