ng-alain表格st实现某行标红原创
原创html中,增加 rowClassName属性
根据一定的条件,返回类名
rowClassName(record: STData, index: number) {
if(record.leftDay < 0) {
return sign-tr;
}
}
// css中
::ng-deep{
.sign-tr{
background-color: #fabeb9 !important;
}
} 版权声明
所有资源都来源于爬虫采集,如有侵权请联系我们,我们将立即删除
上一篇:小程序动态添加class样式原创 下一篇:Spring事务传播方式详解版权声明
相关文章
- VUE图片显示,图片动态拼接host的方法原创
- vue报错:Componenttemplateshouldcontainexactlyonerootelement原创
- linux下配置tomcat环境(centOS)原创
- element报错“t.getFullYearisnotafunction”,TypeError:date.getHoursisnotafunction原创
- vue根据data的数据值动态设置switch状态禁用原创
- Propertyormethod“id”isnotdefinedontheinstancebutreferencedduringrender.Makesurethat转载
- vue下拉选择selectoption多选取值问题原创
- VUE防止闪烁原创
- windows10环境下安装jmeter原创
- window运行苹果手机出现无法识别,参考文档,亲测原创
最新文章
- GPS轨迹揭示英吉利海峡横渡:第一个到达者仍在海峡中央 4分钟前
- EU backs away from offer to Canada to start 'associate member' talks 10分钟前
- 我亲手用AI伪造了一篇科学论文,结果竟如此 51分钟前
- 撤销 M365 会话后攻击者为何仍能读邮件?令牌生命周期揭示安全盲区 54分钟前
- CATL 固态电池 20 Ah 试产:500 Wh/kg 是里程碑还是画饼? 60分钟前
- Out of My Other Mind – What are the defining characteristics of a conscious AI? 2小时前
- My GitHub account has been suspended 2小时前
- 欧盟AI法案首个协调标准落地:EN 18286的合规快车道为何少人喝彩? 2小时前
- Billionaires shatter spending record to fight California wealth tax 2小时前
- UK's small power plants face higher cyber risk into 2030s – Iran-linked hack 3小时前
itfan123


