jquery - JQuery Bootgrid 标题文本颜色
问题描述
我一直在尝试在 Bootgrid 中设置表格标题的样式,但只取得了有限的成功。我正在使用下面的代码,并且表格标题的背景颜色更新得很好。但是,标题的文本颜色不会改变。我下面的课程涉及以下内容:
.bg-gray { background-color: #9e9e9e !important; }
.c-white { color: #fff !important; }
<table id="data-table-selection" class="table table-hover table-bordered">
<thead class="bg-gray c-white">
<tr>
<th data-column-id="id" data-type="numeric" data-identifier="true">ID</th>
<th data-column-id="name" data-order="asc">Name</th>
<th data-column-id="address" data-sortable="false">Physical Address</th>
<th data-column-id="state" >Country</th>
</tr>
</thead>
</table>
我只是想知道我是否遗漏了什么或者在引导网格中设置标题的样式有问题?非常感谢任何帮助!
解决方案
推荐阅读
- markdown - 如何在 jekyll markdown 代码块之上显示代码语言
- django - 防止 Django 模型字段被渲染
- windows-installer - 在使用 WIX 实现的 MSI 应用程序卸载期间获取输入
- scala - 将信息从一个编译器组件传递到另一个编译器组件而不会发生变异
- linux - 为什么在某些 Linux 发行版中安装旧版本的相同软件包?
- algorithm - 是否有一种算法可以创建无限的集群节点分支?
- jms - WildFly 使用 JCA 资源适配器与 ActiveMQ 集成
- c# - Xamarin Mac - 如何使用 100% 代码(无 xib)创建和使用 NSCollectionView?
- android - 在三星 Galaxy S10 上运行 app-debug.apk 或 app-release.apk
- php - MySQL 查询句柄未定义