angular-excel
v0.0.4
Published
## ⚠️ Project Status: Initial Development This library is still in its early development phase. Using it in production is **not advisable** as features and stability may change frequently.
Readme
AngularExcel
⚠️ Project Status: Initial Development
This library is still in its early development phase. Using it in production is not advisable as features and stability may change frequently.
📦 Installation
To install the package, run the following command:
npm install angular-excel --save🚀 Usage
Import the Module
Modify your app.module.ts file to import AngularExcelModule:
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { AngularExcelModule } from 'angular-excel';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
AppRoutingModule,
AngularExcelModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }Usage in a Component
Modify your app.component.html file:
<lib-table [data]="data"></lib-table>Modify your app.component.ts file:
export class AppComponent {
data: any = {
th: ['Name', 'Age', 'Education', 'Contact'],
td: [
{ name: 'Manimaran', age: '28', education: 'BSC', contact: '1234567890' },
{ name: 'Karthik', age: '32', education: 'BE', contact: '9876543210' },
{ name: 'Priya', age: '26', education: 'MBA', contact: '8765432109' },
{ name: 'Arun', age: '30', education: 'MCA', contact: '7654321098' },
{ name: 'Sneha', age: '25', education: 'BCom', contact: '6543210987' },
{ name: 'Sneha', age: '29', education: 'BTech', contact: '5432109876' },
{ name: 'Divya', age: '27', education: 'MSc', contact: '4321098765' },
{ name: 'Vignesh', age: '31', education: 'PhD', contact: '3210987654' },
{ name: 'Meena', age: '24', education: 'BA', contact: '2109876543' },
{ name: 'Manimaran', age: '33', education: 'Diploma', contact: '1098765432' }
]
};
}✨ Features
- Dynamic Table Display: Displays tabular data dynamically.
- Filtering: Users can filter the data dynamically.
📜 License
Currently, no license is applied to this project. If you plan to add one, you can choose a suitable license from choosealicense.com.
🤝 Contributing
As this is in the early development phase, contributions are not yet open. Future contribution guidelines will be provided.
🔗 Further Help
For more details, visit the Angular CLI Overview and Command Reference.
