mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-24 03:10:13 +01:00
feat(tables): add hot-table component page (#1053)
This commit is contained in:
parent
f98b128140
commit
6d27f164e7
55 changed files with 2177 additions and 14 deletions
|
|
@ -0,0 +1,41 @@
|
|||
import { Component } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'handsontable-section',
|
||||
template: `
|
||||
<section id="handsontable">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<basic-demo></basic-demo>
|
||||
<br>
|
||||
<br>
|
||||
<advanced-demo></advanced-demo>
|
||||
<br>
|
||||
<br>
|
||||
<finance-demo></finance-demo>
|
||||
<br>
|
||||
<science-demo></science-demo>
|
||||
<br>
|
||||
<br>
|
||||
<sheet-demo></sheet-demo>
|
||||
<br>
|
||||
<br>
|
||||
<sport-demo></sport-demo>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
`
|
||||
})
|
||||
export class HandsontableSectionComponent {
|
||||
currentHeading:string = 'Basic';
|
||||
|
||||
select(e) {
|
||||
if (e.heading) {
|
||||
this.currentHeading = e.heading;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function escape(text: string): string {
|
||||
return text.replace(/{/g, '{').replace(/}/g, '}');
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue