我想更改ng2-smart-table的CSS。我在下面添加我的屏幕。我要删除显示在第一行的街区和公寓框。如何更改公寓栏自动填充框的大小,类似于其他字段?
我的.ts文件在下面,
settings = {columns: {
block_name: {
title: 'Block',
type: 'html',
editor: {
type: 'list',
config: {
list: this.newblock
},
}
}, cust_name: {
title: 'Apartment',
editor: {
type: 'completer',
config: {
completer: {
data: this.newapart,
searchFields: 'title',
titleField: 'title'
},
},
},
},... }
.html文件,
<div class="row">
<div>
<input #search class="search" type="text" placeholder="Search..." (keydown.enter)="onSearch(search.value)">
<ng2-smart-table [settings]="settings" [source]="source" (deleteConfirm)="onDelete($event)"
(editConfirm)="onSave($event)"
(createConfirm)="onCreate($event)" ></ng2-smart-table>
</div>