Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@stenajs-webui/grid
Advanced tools
This package contains hooks and components that can help create grids that can be navigated similar to Excel.
Column configs has three options for summary rows:
renderSummaryCell
summaryText
summaryCellColSpan
If renderSummaryCell
or summaryText
is set for any column,
the table will get a summary row at the bottom.
summaryText
Receives items
in argument object, and must return a string.
renderSummaryCell
Receives items
and text
in argument object.
If no summaryText
was specified, then text
will be undefined.
If no renderSummaryCell
is specified, then a default renderer for summary
will be used.
Examples:
summaryText: ({ items }) =>
String(sumBy(items, (item) => item.numPassengers ?? 0)),
renderSummaryCell: ({ items, text }) => (
<Indent>
<Tag label={text} />
</Indent>
)
summaryCellColSpan
can be set to make the cell span multiple columns.
If any columns after the spanning column has summary options, they will be ignored.
If there are column groups, a column can only span over columns of that column group.
If summaryCellColSpan
is too high and won't fit into the table (or column group) then
the col span will be limited so that it fits.
FAQs
Unknown package
The npm package @stenajs-webui/grid receives a total of 565 weekly downloads. As such, @stenajs-webui/grid popularity was classified as not popular.
We found that @stenajs-webui/grid demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.