
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
gridweb-spreadsheet
Advanced tools
this is the client js for GridWeb,which is an easy-to-use .net and java web control for display and edit spreadsheet file
A smart and simple to use WYSIWYG Excel-like library for wep application for both .net and java that allows you to view and edit spreadsheet file with ease and quick
It is easy and simple to use.
It helps you to build online web editor or viewer for spread sheet file quickly .
It also supports import and export to all kinds of spreadsheet format files, which are 100% compatible with MS Excel files.
java demo: https://github.com/aspose-cells/Aspose.Cells-for-Java/tree/master/Examples.GridWeb .net demo: https://github.com/aspose-cells/Aspose.Cells-for-.NET/tree/master/Examples_GridWeb
<head>
<!-- other dependency start -->
<link rel="stylesheet" href="https://unpkg.com/jquery-ui@1.13.2/dist/themes/ui-lightness/jquery-ui.min.css">
<script src="https://unpkg.com/jquery@3.6.0/dist/jquery.min.js"></script>
<script src="https://unpkg.com/jquery-ui@1.13.2/dist/jquery-ui.min.js"></script>
<!-- other dependency end -->
<script type="text/javascript" language="javascript"
src="https://unpkg.com/gridweb-spreadsheet@24.9.0/acw_client/acwmain.js?t=202209"></script>
<script type="text/javascript" language="javascript"
src="https://unpkg.com/gridweb-spreadsheet@24.9.0/acw_client/lang_en.js"></script>
<link href="https://unpkg.com/gridweb-spreadsheet@24.9.0/acw_client/menu.css" rel="stylesheet"
type="text/css" />
.net 4
//aspx page
<%@ Register assembly="Aspose.Cells.GridWeb" namespace="Aspose.Cells.GridWeb" tagprefix="cc1" %>
...
<body>
<form id="form1" runat="server">
<cc1:GridWeb ID="GridWeb1" runat="server" Height="582px" Width="1063px">
</cc1:GridWeb>
</form>
</body>
//aspx.cs
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack && !GridWeb1.IsPostBack)
{String filePath=@"c:/test.xlsx";
GridWeb1.ImportExcelFile(filePath);
}
}
.net 6 and .net core please refer to https://github.com/aspose-cells/Aspose.Cells-for-.NET/blob/master/Examples_GridWeb/GridWeb.Net6/
<script >
function renderData(data)
{ //the default stype part for gridweb component is Stylemycomponent
$("#Stylemycomponent").remove();
//need to render gridweb ,this will trigger reinit of gridweb component
//the default name for gridweb component is mycomponent
gridwebinstance.remove("mycomponent") ;
$("#gridweb").html(data);
}
function doClick( ) {
$.post([[${servletname}]], {
flag : 'loadfile',
gridwebuniqueid : $("#mycomponent").attr("webuniqueid")
}, function(data) {
renderData(data);
}, "html");
}
$(document).ready(function(){
doClick('loadfile');
});
</script>
<div id="gridweb"></div>
//for server side:
public class FeatureServlet extends TestGridWebBaseServlet {
private static final long serialVersionUID = 1L;
@Override
public void loadfile(GridWebBean gridweb,HttpServletRequest request, HttpServletResponse response) {
try {
super.reloadfile(gridweb,request,"test.xls");
} catch (Exception e) {
e.printStackTrace();
}
}
Localization/Multiple language UI
Paint format
Clear format
Format
Font/Font size/ bold/italic/Underline/Strike
Text color/Align/wrapping
Fill color
Borders
Merge cells
Freeze cell
Copy, Cut, Paste
Autofill
Insert/Delete row, column
Filter row, column
Sort
Search
Formula
Resize row-height, col-width
Switch/add/delete sheets
Condition Format
Comment
Data validations
Display chart/shapes/images
Display Form Controls /ActiveX Controls(incoming)
Online documentation is available here:
Modern browsers(chrome, firefox, Safari,edge).
MIT
Product Page | Product Documentation | Blog |API Reference c# |API Reference java | Source Code Samples c# | Source Code Samples java | Free Support
FAQs
this is the client js for GridWeb,which is an easy-to-use .net and java web control for display and edit spreadsheet file
The npm package gridweb-spreadsheet receives a total of 2 weekly downloads. As such, gridweb-spreadsheet popularity was classified as not popular.
We found that gridweb-spreadsheet 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.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.