File tree Expand file tree Collapse file tree 2 files changed +13
-15
lines changed
apps/virtual-table-demo/src/samples Expand file tree Collapse file tree 2 files changed +13
-15
lines changed Original file line number Diff line number Diff line change 2727 key ="active "
2828 sticky
2929 vertical-line
30- width ="60 "
30+ width ="80 "
3131 >
3232 < ng-template ngx-th />
3333 < ng-template
7070 < ng-template
7171 let-cell
7272 ngx-td
73- [nowrap] ="false "
7473 >
7574 {{ cell }}
7675 </ ng-template >
Original file line number Diff line number Diff line change 184184 import { Data } from "./data.interface";
185185
186186 @Component({
187- selector: 'app',
188- templateUrl: './app.component.html'
189- { ;)
187+ selector: 'app',
188+ templateUrl: './app.component.html'
189+ } ;)
190190 export class AppComponent {
191- public data: Data[] = [ .. ];
192- constructor(private toast: ToastService) {}
191+ public data: Data[] = [ .. ];
193192
194- public rowOnClick(events: TableEvent): void {
195- this.toast.success('OnClick', events);
196- }
197-
198- public rowDblClick(events: TableEvent): void {
199- this.toast.success('DblClick', events);
200- }
193+ constructor(private toast: ToastService) {}
201194
202- {
195+ public rowOnClick(events: TableEvent): void {
196+ this.toast.success('OnClick', events);
197+ }
203198
199+ public rowDblClick(events: TableEvent): void {
200+ this.toast.success('DblClick', events);
201+ }
202+ }
204203 </ code > </ pre >
205204 </ div >
206205</ div >
You can’t perform that action at this time.
0 commit comments