Layui 表格组件有没有条件格式功能? #1673
Unanswered
HuangLei0x2e5
asked this question in
问答
Replies: 2 comments
-
可以使用 table 列属性中的 templet 实现格式化,具体用法参考文档示例。 |
Beta Was this translation helpful? Give feedback.
0 replies
-
收到,非常感谢
发件人: morning-star ***@***.***>
发送时间: 2024年3月1日 16:34
收件人: layui/layui ***@***.***>
抄送: HuangLei0x2e5 ***@***.***>; Author ***@***.***>
主题: Re: [layui/layui] Layui 表格组件有没有条件格式功能? (Issue #1672)
可以使用 table 列属性中的 templet 实现格式化,具体用法参考文档示例。
―
Reply to this email directly, view it on GitHub<#1672 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ASH3ENLVH7IR4673E756U5TYWA4RFAVCNFSM6AAAAABEBK4N6CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZSG42DKMZUGM>.
You are receiving this because you authored the thread.Message ID: ***@***.******@***.***>>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
议题条件
议题类型
功能请求
使用版本
v2.9.6
问题描述
大家好,我是新手,想请问一下,Layui的表格组件有没有条件格式功能,比如我用Table来显示设备列表,正常设备显示绿色,告警设备显示黄色,故障设备显示红色
我知道可以自己写JS代码来实现,但是我对前端开发不熟悉,而且感觉这个功能会比较实用,如果有的话,会很方便的。
请高手指教,谢谢。
业务代码
截图补充
No response
浏览器
chrome 122.0.6261.70
演示地址
No response
友好承诺
Beta Was this translation helpful? Give feedback.
All reactions