html - 有没有办法改变 ng2-smart-table 的 css
问题描述
我想更改 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>
解决方案
推荐阅读
- vba - 是否有允许我将一天中的小时数设置为少于 24 小时的 VBA 功能?
- kubernetes - 如何将 kubectl 连接到 Google Cloud 中的集群?
- python - 比较两个整数时 if 语句不起作用
- ios - 导入数据后如何重新加载 UITableView?
- ios - CAShapeLayer() 绘制奇怪的线/路径
- python-3.x - 我如何为这个问题编写 python 代码?
- html - 如何将 css 文件正确添加到 php 文件中
- python - 以毫秒为单位分配时间以获得平滑曲线
- python - 不确定如何使用 tkinter 条目来运行 if 语句
- flutter - ListVIew 再次构建后不会滚动到正确的偏移位置