Как установить 100% высоту для ячейки - ng2-smart-table - PullRequest
0 голосов
/ 19 июня 2019

У меня проблема с установкой максимальной высоты для Custom Cell (textarea). Кому-нибудь удалось решить эту проблему? Я хотел бы, чтобы textarea имел все размеры td

@Component({
template: `<textarea class="form-control" style="width: 100%; height: 100%; background-color: white" readonly>{{value}}</textarea>`,
})
export class SmartTableTextareaComponent implements ViewCell {
  @Input() value: any;
  @Input() rowData: any;
}

enter image description here

...