Ext学习笔记——grid表格渲染自定义样式

HTML中咱们经过css直接更改样式,同理Ext经过renderer就能够更改HTML显示的样式。以下:css {header:"状态", dataIndex:"status", renderer:function(value){ if(value=="可用"){ return "<span style='color:green, font-weight:bold'>可用<
相关文章
相关标签/搜索