
Product
Introducing Socket Scanning for OpenVSX Extensions
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.
@stenajs-webui/grid
Advanced tools
This package contains hooks and components that can help create grids that can be navigated similar to Excel.
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:
renderSummaryCellsummaryTextsummaryCellColSpanIf renderSummaryCell or summaryText is set for any column,
the table will get a summary row at the bottom.
summaryTextReceives items in argument object, and must return a string.
renderSummaryCellReceives 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
This package contains hooks and components that can help create grids that can be navigated similar to Excel.
The npm package @stenajs-webui/grid receives a total of 279 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 3 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.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.

Product
Bringing supply chain security to the next generation of JavaScript package managers

Product
A safer, faster way to eliminate vulnerabilities without updating dependencies