
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
@ibsheet/angular
Advanced tools
An Angular wrapper component for IBSheet, providing seamless integration of IBSheet spreadsheet functionality into Angular applications.
An Angular wrapper component for IBSheet, providing seamless integration of IBSheet spreadsheet functionality into Angular applications.
Make sure you have IBSheet library loaded in your project before using this component.
Using npm:
npm install @ibsheet/angular
Using yarn:
yarn add @ibsheet/angular
import { Component } from "@angular/core";
import { IBSheetAngular, type IBSheetOptions } from "@ibsheet/angular";
@Component({
selector: "app-example",
standalone: true,
imports: [IBSheetAngular],
template: `
<div>
<ibsheet-angular [options]="sheetOptions" [data]="sheetData"> </ibsheet-angular>
</div>
`,
})
export class ExampleComponent {
sheetOptions: IBSheetOptions = {
Cfg: {
SearchMode: 2,
HeaderMerge: 3,
},
Cols: [
{ Header: "ID", Type: "Text", Name: "sId" },
{ Header: "Name", Type: "Text", Name: "name" },
{ Header: "Age", Type: "Int", Name: "age" },
],
};
sheetData = [
{ sId: "1", name: "John Doe", age: 30 },
{ sId: "2", name: "Jane Smith", age: 25 },
];
}
Example: https://stackblitz.com/edit/stackblitz-starters-e5wa2tt7
import { Component } from "@angular/core";
import {
IBSheetAngular,
IB_Preset,
type IBSheetInstance,
type IBSheetOptions,
type IBSheetEvents
} from "@ibsheet/angular";
const handleAfterChange: IBSheetEvents['onAfterChange'] = (param) => {
// The type of the parameter is automatically inferred.
console.log('Data changed value:', param.val);
};
@Component({
selector: "app-advanced",
standalone: true,
imports: [IBSheetAngular],
template: `
<div>
<div>
<button (click)="handleAddRow()">Add Row</button>
<button (click)="handleExportExcel()">Export Excel</button>
</div>
<ibsheet-angular [options]="sheetOptions" [data]="sheetData" [sync]="false" [style]="customStyle" (instance)="getInstance($event)"> </ibsheet-angular>
</div>
`,
})
export class AdvancedComponent {
private mySheet: IBSheetInstance | undefined;
sheetOptions: IBSheetOptions = {
// Your IBSheet configuration options
Cfg: {
SearchMode: 2,
HeaderMerge: 3,
},
Cols: [
{ Header: "ID", Type: "Text", Name: "sId" },
{ Header: "Name", Type: "Text", Name: "name" },
{ Header: "Age", Type: "Int", Name: "age" },
{ Header: "Ymd", Name: "sDate_Ymd", Extend: IB_Preset.YMD, Width: 110 }
],
Events: {
onAfterChange: handleAfterChange
}
};
sheetData = [
// Your data
{ sId: '1', name: 'John Doe', age: 30, sDate_Ymd: '20250923' },
{ sId: '2', name: 'Jane Smith', age: 25, sDate_Ymd: '20251002' }
];
customStyle = {
width: "100%",
height: "600px",
border: "1px solid #ccc",
};
getInstance(sheet: IBSheetInstance): void {
// You can store the sheet instance or perform initial operations
this.mySheet = sheet;
}
handleAddRow(): void {
if (this.mySheet) {
this.mySheet.addRow();
}
}
handleExportExcel(): void {
if (this.mySheet) {
// exportData method requires the jsZip library
// When checking for the jsZip library, if it hasn't been loaded separately, the file at ./plugins/jszip.min.js (relative to ibsheet.js) will be loaded automatically.
this.mySheet.exportData({fileName:'ibsheet_angular_export_example.xlsx'});
}
}
}
Example: https://stackblitz.com/edit/stackblitz-starters-y4wxdjox
@Component({
template: ` <ibsheet-angular [exgSheet]="existingSheet" [style]="sheetStyle"> </ibsheet-angular> `,
})
export class ReuseExampleComponent {
existingSheet?: IBSheetInstance;
constructor() {
// Reuse IBSheet instances created elsewhere
this.existingSheet = someExistingSheetInstance;
}
}
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
options | IBSheetOptions | ✅ | - | IBSheet configuration options |
data | any[] | ❌ | [] | Initial data for the spreadsheet |
sync | boolean | ❌ | false | Enable data synchronization |
style | any | ❌ | { width: '100%', height: '800px' } | Container styling object |
exgSheet | IBSheetInstance | ❌ | - | Existing IBSheet instance to reuse |
| Event | Type | Description |
|---|---|---|
instance | EventEmitter<any> | Emitted when the IBSheet instance is created and ready |
The component follows Angular's lifecycle hooks:
Define your IBSheet options interface:
export interface IBSheetOptions {
Cfg?: IBSheetProperties;
Def?: object;
Cols?: IBCol[];
LeftCols?: IBCol[];
RightCols?: IBCol[];
Head?: any[];
Foot?: any[];
Solid?: any[];
Filter?: any[];
Events?: IBSheetEvents;
}
IBSheet interface: https://www.npmjs.com/package/@ibsheet/interface
This component is built as an Angular standalone component, making it easy to use without module declarations:
import { IBSheetAngular } from '@ibsheet/angular';
@Component({
// ...
standalone: true,
imports: [IBSheetAngular], // Direct import
})
The component includes comprehensive error handling:
options input is not providedThe component applies default dimensions of 100% width and 800px height.
If you're using traditional Angular modules instead of standalone components:
import { NgModule } from "@angular/core";
import { IBSheetAngular } from "@ibsheet/angular";
@NgModule({
imports: [IBSheetAngular], // Import the standalone component
// ...
})
export class YourModule {}
options input contains valid IBSheet configuration[initializeIBSheet] IBSheet Initialization Failed: Maximum Retry Exceeded
Solutions:
index.htmlsync: false for large datasetsThe component automatically handles cleanup, but ensure you:
Using Including External Script
ex) in index.html
<link rel="stylesheet" href="ibsheet_path/css/default/main.css" />
<script src="ibsheet_path/ibsheet.js"></script>
<script src="ibsheet_path/locale/ko.js"></script>
<script src="ibsheet_path/plugins/ibsheet-common.js"></script>
<script src="ibsheet_path/plugins/ibsheet-dialog.js"></script>
<script src="ibsheet_path/plugins/ibsheet-excel.js"></script>
Using IBSheetLoader
root/public directory or a subdirectory within root/publicibsheet_pathbaseUrlhttps://docs.ibsheet.com/ibsheet/v8/manual/#docs/intro/1introduce
FAQs
An Angular wrapper component for IBSheet, providing seamless integration of IBSheet spreadsheet functionality into Angular applications.
We found that @ibsheet/angular demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.