SpreadJS: Designer Component
Powerful and Complete JS-Based Web Excel Performance
Deliver the same UI/UX as the most familiar tools, MS 365 Excel and Google Sheets.
With SpreadJS Designer, you can implement Excel features and layouts in a web environment with just a few lines of code.
Components are provided for both screen structure and Excel functionality, giving you the freedom to customize and extend as needed.
See the Pen SpreadJS 디자이너 컴포넌트 V15.0.6_홈페이지 게시 전용 by GrapeCity Korea ( @GrapeCity-Korea) on CodePen.
The screen above is an actual screen implemented using the SpreadJS Designer Component
A SpreadJS developer license is required to use the Designer Component.

Ask Anything!
Share your questions and concerns about SpreadJS with the MESCIUS expert team. We are here to listen and help.
How to Apply the Designer Component
Learn how to integrate the Designer Component with a new spreadsheet.
Step 1. Reference the SpreadJS CSS and JS files in your project.
<!--CSS file-->
<link href=
"css/gc.spread.sheets.excel2013white.0.0.0css"
rel=
"stylesheet"
type=
"text/css" />
<!--script file-->
<script type= "text/javascript" src= "scripts/gc.spread.sheets.all.0.0.0.min.js" ></script>
<script type= "text/javascript" src= "scripts/plugins/gc.spread.sheets.shapes.0.0.0.min.js" ></script>
<script type= "text/javascript" src= "scripts/plugins/gc.spread.sheets.charts.0.0.0.min.js" ></script>
<script type= "text/javascript" src= "scripts/plugins/gc.spread.sheets.datacharts.0.0.0.min.js" ></script>
<script type=
"text/javascript" src=
"scripts/plugins/gc.spread.sheets.slicers.0.0.0.min.js" ></script>
<script type=
"text/javascript"
src= "scripts/plugins/gc.spread.sheets.print.0.0.0.min.js"
></script>
<script type= "text/javascript" src= "scripts/plugins/gc.spread.sheets.barcode.0.0.0.min.js" ></script>
<script type= "text/javascript" src= "scripts/plugins/gc.spread.sheets.pdf.0.0.0.min.js" ></script>
<script type= "text/javascript" src= "scripts/plugins/gc.spread.pivot.pivottables.0.0.0.min.js" ></script>
<script type= "text/javascript" src= "scripts/plugins/gc.spread.sheets.tablesheet.0.0.0.min.js" ></script>
<script type= "text/javascript" src= "scripts/plugins/gc.spread.sheets.ganttsheet.0.0.0.min.js" ></script>
<script type= "text/javascript" src= "scripts/plugins/gc.spread.sheets.formulapanel.0.0.0.min.js" ></script>
<script type= "text/javascript" src= "scripts/plugins/gc.spread.report.reportsheet.0.0.0.min.js" ></script>
<script type= "text/javascript" src= "scripts/plugins/gc.spread.sheets.io.0.0.0.min.js" ></script>
<!--Culture settings-->
<script type= "text/javascript" src= "scripts/resources/ko/gc.spread.sheets.resources.ko.0.0.0.min.js" ></script>
Step 2. Reference the CSS and JS files of the Designer Component in your project.
<!--CSS file-->
<link href=
"css/gc.spread.sheets.designer.0.0.0.min.css"
rel=
"stylesheet"
type=
"text/css"
/>
<!--script file-->
<script type= "text/javascript" src= "scripts/gc.spread.sheets.designer.resource.ko.0.0.0.min.js" ></script>
<script type= "text/javascript" src= "scripts/gc.spread.sheets.designer.all.0.0.0.min.js" ></script>
Step 3. Include a DOM element as a container in the page body.
<div id= "gc-designer-container" role="application" ></div>
Step 4. Initialize the Designer Component. Before initializing, set the license keys for both the Designer Component and SpreadJS.
// Set license key
GC.Spread.Sheets.LicenseKey = 'xxx';
GC.Spread.Sheets.Designer.LicenseKey = 'xxxx';
var designer
= new
GC.Spread.Sheets.Designer.Designer(
document.getElementById("gc-designer-container")
);
✅ The complete HTML code is as follows. Include the content within the
<style>
tags when writing your code.
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="spreadjs culture" content="ko-kr" />
<title>spreadsheet designer</title>
<!-- CSS file -->
<link href= "css/gc.spread.sheets.excel2013white.0.0.0.css" rel= "stylesheet" type= "text/css" />
<link href= "css/gc.spread.sheets.designer.0.0.0.min.css" rel= "stylesheet" type= "text/css" />
</head>
<style>
.designer {
height: calc(100% - 15px);
}
.ribbon-button-welcome
{
background-image: url('./welcome.png');
background-size: 35px 35px;
}
html,
body {
overflow: hidden;
padding: 0;
margin: 0;
height: 100%;
}
#gc-designer-container {
height: 100%;
}
</style>
<body unselectable="on">
<!-- DOM element -->
<div id="gc-designer-container" role="application"></div>
<!-- script file -->
<script type="text/javascript" src="scripts/gc.spread.sheets.all.0.0.0.min.js"></script>
<script type="text/javascript" src="scripts/plugins/gc.spread.sheets.shapes.0.0.0.min.js"></script>
<script type="text/javascript" src="scripts/plugins/gc.spread.sheets.charts.0.0.0.min.js"></script>
<script type="text/javascript" src="scripts/plugins/gc.spread.sheets.datacharts.0.0.0.min.js"></script>
<script type="text/javascript" src="scripts/plugins/gc.spread.sheets.slicers.0.0.0.min.js"></script>
<script type="text/javascript"
src="scripts/plugins/gc.spread.sheets.print.0.0.0.min.js"></script>
<script type="text/javascript" src="scripts/plugins/gc.spread.sheets.barcode.0.0.0.min.js"></script>
<script type="text/javascript" src="scripts/plugins/gc.spread.sheets.pdf.0.0.0.min.js"></script>
<script type="text/javascript" src="scripts/plugins/gc.spread.pivot.pivottables.0.0.0.min.js"></script>
<script type="text/javascript" src="scripts/plugins/gc.spread.sheets.tablesheet.0.0.0.min.js"></script>
<script type="text/javascript" src="scripts/plugins/gc.spread.sheets.ganttsheet.0.0.0.min.js"></script>
<script type="text/javascript" src="scripts/plugins/gc.spread.sheets.formulapanel.0.0.0.min.js"></script>
<script type="text/javascript" src="scripts/plugins/gc.spread.report.reportsheet.0.0.0.min.js"></script>
<script type="text/javascript" src="scripts/plugins/gc.spread.sheets.io.0.0.0.min.js"></script>
<script type="text/javascript" src="scripts/resources/ko/gc.spread.sheets.resources.ko.0.0.0.min.js"></script>
<script type="text/javascript"
src="scripts/gc.spread.sheets.designer.resource.ko.0.0.0.min.js"></script>
<script type="text/javascript" src="scripts/gc.spread.sheets.designer.all.0.0.0.min.js"></script>
<script type="text/javascript">
window.onload = function () {
// Set license key
GC.Spread.Sheets.LicenseKey = 'xxx';
GC.Spread.Sheets.Designer.LicenseKey = 'xxxx';
var designer
= new GC.Spread.Sheets.Designer.Designer(document.getElementById("gc-designer-container"));
}
</script>
</body>
</html>
Step 5. You can view the Designer Component in your browser.


Ask Anything!
Share your questions and concerns about SpreadJS with the MESCIUS expert team. We are here to listen and help.
Designer Component Screen Layout


Designer Component Customization
Please refer to the following to customize the Designer Component to your needs.
-
Add ribbon menu tabList Item 1You can add new ribbon menu tabs for frequently used commands.
-
Add ribbon menu buttonList Item 2You can add new buttons to the ribbon menu tabs.
-
Context menu item customizationList Item 3You can add new context menu items.
-
Add custom dialog boxList Item 4You can enable or disable buttons on specific tabs.
-
Enable/Disable Ribbon Menu ButtonYou can enable or disable buttons on specific tabs.
-
File Load Event BindingYou can trigger an event when loading a file.
-
Add status bar itemYou can add desired items to the status bar.
-
Add custom componentsYou can add the components you want.
-
Designer Component Localization Resource Customization
You can customize the Designer Component localization resources using the getResources and setResources methods.
Frequently Asked Questions
SpreadJS Web Excel Editor FAQ
Diverse Enterprise Business Features Powered by SpreadJS
Explore the Business Excel Add-Ons for SpreadJS
SpreadJS provides Excel-based features tailored to diverse enterprise business needs, enabling fast and efficient development of even the most complex business systems.


