
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.
handsontable-initializer
Advanced tools
A utility to quickly initialize Handsontable tables with advanced features: filters, sums, averages, custom renderers, and more.
A utility to quickly initialize Handsontable tables with advanced features: filters, sums, averages, custom renderers, and more.
This package makes it easy to set up Handsontable tables with:
npm install handsontable-initializer
import initializeHandsontable from "handsontable-initializer";
const hot = initializeHandsontable("exampleContainer", {
columns: [
{ data: 'name', type: 'text' },
{ data: 'balance', type: 'text', renderer: 'formatNumberRender' }
],
colHeaders: ['Name', 'Balance'],
hiddenColumns: { columns: [2, 5] },
afterSelectionEnd: (r, c) => console.log("Selected:", r, c),
config: { data: myData }
});
<script src="https://cdn.jsdelivr.net/npm/jquery"></script>
<script src="https://cdn.jsdelivr.net/npm/handsontable/dist/handsontable.full.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/moment"></script>
<script src="dist/handsontable-initializer.js"></script>
<script>
const hot = initializeHandsontable('exampleContainer', {
columns: [ ... ],
colHeaders: [ ... ],
config: { data: [ ... ] }
});
</script>
You can use built-in Handsontable renderers or provide your own. Example:
const columns = [
{ data: 'balance', type: 'text', renderer: 'formatNumberRender' }
];
Available custom renderers:
formatNumberRenderformatNumberWithoutColorRenderdateFormatdateTimeFormattextWrapRenderergreenRendererparentKeyLinkRendererintegerFormatterRendererintegerCeilRenderereditableColumnRenderercheckRenderernoteRendererrendererPricerendererPrice2blueRendererSee examples/basic.html for a working demo with CDN imports for jQuery, Handsontable, and your initializer.
This project is built on top of the amazing Handsontable library. Handsontable is a powerful JavaScript data grid that makes working with tables and spreadsheets in web applications a joy. We deeply appreciate the work of the Handsontable team and their commitment to open source and developer experience. If you find this project useful, please consider supporting or contributing to Handsontable as well!
You can learn more and get started with Handsontable at handsontable.com.
MIT
FAQs
A utility to quickly initialize Handsontable tables with advanced features: filters, sums, averages, custom renderers, and more.
We found that handsontable-initializer demonstrated a healthy version release cadence and project activity because the last version was released less than 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.