
Security News
Django Joins curl in Pushing Back on AI Slop Security Reports
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
react-column-resizer
Advanced tools
Place in between `td` tags to automatically add resizing functionality.
Place in between td
tags to add resizing functionality. Works with touch and mouse events.
Demo: https://codesandbox.io/s/1olmx0q4w7
npm install react-column-resizer
* Requires react
as a peer dependency: npm install react
import React from "react";
import { render } from "react-dom";
import ColumnResizer from "react-column-resizer";
const App = () => (
<div>
<table>
<tbody>
<tr>
<td>1</td>
<ColumnResizer className="columnResizer" minWidth={0} />
<td>2</td>
</tr>
<tr>
<td>3</td>
<td />
<td>4</td>
</tr>
</tbody>
</table>
</div>
);
render(<App />, document.body);
Prop Name | Type | Default Value | Description |
---|---|---|---|
disabled | bool | false | Set to true if you want to disable resizing |
minWidth | number | 0 | The minimum width for the columns (in pixels) |
className | string | "" | Any custom classes. If set, default width and backgroundColor styles will not be applied |
<td/>
's in rows you don't use the resizertransparent
and assign a value to border-left
FAQs
Place in between `td` tags to automatically add resizing functionality.
The npm package react-column-resizer receives a total of 1,594 weekly downloads. As such, react-column-resizer popularity was classified as popular.
We found that react-column-resizer 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
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.