filter - 制表符标题过滤器格式
问题描述
嗨,我有一个制表表,其标题都是图标
我想为一个字段添加一个过滤器框,但是当我使用 headerFilter:true 时,过滤器位于图标下方
有什么聪明的方法可以让过滤器与图标处于同一级别,空间是我页面上的一个优先级,所以理想情况下我希望它们都对齐
解决方案
I've solved this by modifying the tabulator css I had to give the header-filter a negative top position and it now works fine
`.tabulator .tabulator-header .tabulator-col .tabulator-header-filter
{
position: relative;
box-sizing: border-box;
margin-top: -23px;
width: 100%;
text-align: center;
height: 33px ;
} `
推荐阅读
- c++ - 关于使用 C++11 标准编译 C++98 代码
- python - 如何使用替换功能来完全替换字符串而不是它的一部分?
- python - 计算天数,但从给定小时开始
- java - 为网站提取 SSL 证书信息时堆内存消耗高
- c# - 即使在我创建了一个新实例之后,Syncfusion 的 Masked Edit 也会继续将旧值附加到新值
- office365 - Office-ui-fabric-core 一些图标没有显示
- git - Ubuntu18.04 中的 kTechlab
- javascript - html表jquery中下一行td的断字
- javascript - 如何在 React-quill 中添加自定义字体大小
- javascript - 完成所有承诺后如何使用 setTimeout()?