I need to create a handsontable table that one of its columns is displayed in an Angular component, I have tried many things but it doesn’t work for me.
my angular component
import { Component } from ‘@angular/core’;
@Component({
selector: ‘app-multi-select’,
template: `
<nz-select
[nzMaxTagCount]="3"
[nzMaxTagPlaceholder]="tagPlaceHolder"
nzMode="multiple"
nzPlaceHolder="Please select"
[(ngModel)]="listOfSelectedValue"
>
<nz-option
*ngFor="let item of listOfOption"
[nzLabel]="item"
[nzValue]="item"
></nz-option>
</nz-select>
<ng-template #tagPlaceHolder let-selectedList
>and {{ selectedList.length }} more selected</ng-template
>
`,
})
export class MultiSelectComponent {
listOfOption = [‘Option 1’, ‘Option 2’, ‘Option 3’, ‘Option 4’, ‘Option 5’];
listOfSelectedValue: string[] = [];
}