• 设为首页
  • 收藏本站
  • 积分充值
  • VIP赞助
  • 手机版
  • 微博
  • 微信
    微信公众号 添加方式:
    1:搜索微信号(888888
    2:扫描左侧二维码
  • 快捷导航
    福建二哥 门户 查看主题

    extjs 如何给column 加上提示

    发布者: 皮3591 | 发布时间: 2025-8-13 21:33| 查看数: 58| 评论数: 0|帖子模式

    1. <script type="text/javascript"

    2. src="${pageContext.request.contextPath }/extjs/examples/simple-widgets/qtips.js"></script>

    3. renderer : function(value, metaData, record, rowIndex,
    4. colIndex, store) {
    5. // provide the logic depending on business rules
    6. // name of your own choosing to manipulate the cell
    7. // depending upon
    8. // the data in the underlying Record object.

    9. // metaData.css : String : A CSS class name to add
    10. // to the TD element of the cell.
    11. // metaData.attr : String : An html attribute
    12. // definition string to apply to
    13. // the data container element within the table
    14. // cell (e.g. 'style="color:red;"').
    15. metaData.attr = 'ext:qtip="' + value + '"';

    16. return value;
    17. }
    复制代码
    来源:互联网
    免责声明:如果侵犯了您的权益,请联系站长(1277306191@qq.com),我们会及时删除侵权内容,谢谢合作!

    最新评论

    QQ Archiver 手机版 小黑屋 福建二哥 ( 闽ICP备2022004717号|闽公网安备35052402000345号 )

    Powered by Discuz! X3.5 © 2001-2023

    快速回复 返回顶部 返回列表