当前位置:网站首页>DV scroll board width of datav rotation table component
DV scroll board width of datav rotation table component
2022-06-27 08:26:00 【Out of the autistic bird】
demand : Use dv-scroll-board When displaying multiple columns of data , Because its default is the average distribution width , It will cause incomplete content display , We want to change the width of a column , Let it show full .
resolvent :
Method 1:dv-scroll-board Bring their own columnWidth:[] attribute , Each parameter of the array is the width of the corresponding column
// My deployment time is at 6 Column , So set at least 6 Only values can be modified to this column
columnWidth: [
140,140,140,140,140,200
],
Method 2:f12 View the class name corresponding to this column , Modify through style penetration . Be careful , Because the original style in the component has higher priority , So we add !important
::v-deep .header-item:nth-child(6), ::v-deep .ceil:nth-child(6) {
width: 200px!important;
}
/deep/ and ::v-deep The effect is the same , But in some cases, it cannot be used /deep/ when , We use ::v-deep Instead of
边栏推荐
- Time function calculation efficiency of C
- Redis master-slave replication and sentinel mode
- lvgl使用demo及说明2
- JVM common garbage collector
- 一种太阳能电荷泵供电电路的方案设计
- Matlab tips (19) matrix analysis -- principal component analysis
- 0号进程,1号进程,2号进程
- 淘宝虚拟产品开店教程之作图篇
- [batch dos-cmd command - summary and summary] - how to distinguish the internal command and external command of CMD, and the difference between CMD command and run (win+r) command,
- 100% understanding of 5 IO models
猜你喜欢

爬一个网页的所有导师信息

AQS underlying source code of concurrent programming JUC

DataV轮播表组件dv-scroll-board宽度问题

MySQL索引详解

Ready to migrate to the cloud? Please accept this list of migration steps

orthofinder直系同源蛋白分析及结果处理

Experience record of Luogu's topic brushing

PayPal account has been massively frozen! How can cross-border sellers help themselves?

Binary tree structure and heap structure foundation

Redis主从复制以及哨兵模式
随机推荐
JS EventListener
If xn > 0 and X (n+1) /xn > 1-1/n (n=1,2,...), Prove that the series Σ xn diverges
Ue5 magic power - POI solution
PayPal account has been massively frozen! How can cross-border sellers help themselves?
Analysis of orthofinder lineal homologous proteins and result processing
并发编程JUC的AQS底层源码
[13. number and bit operation of 1 in binary]
Pin details in rust
SIG associé: toutes les routes mènent à ue5
webrtc入门:12.Kurento下的RtpEndpoint和WebrtcEndpoint
The 6th Blue Bridge Cup
Redis五种基本类型
Win10 how to manage startup items?
2022 love analysis · panoramic report of it operation and maintenance manufacturers
爬一个网页的所有导师信息
MATLAB小技巧(19)矩阵分析--主成分分析
Closure problem
RockerMQ消息发送模式
数字IC-1.9 吃透通信协议中状态机的代码编写套路
What is futures reverse documentary?