如何使ExtJS网格重新渲染自身? [英] How to make ExtJS grid to re-render itself?

查看:140
本文介绍了如何使ExtJS网格重新渲染自身?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个网格的列渲染,如果某些数据成立,它将以粗体绘制文本。现在当这些数据发生变化时,我想在网格上调用一些方法来使其重新渲染。有没有办法做到这一点?

I have a column rendering for a grid which draws text in bold if certain data holds true. Now when this data changes, I want to call some method on the grid to make it re-render itself. Is there a way to do this?

推荐答案

这样很简单

grid.getView().refresh();

这篇关于如何使ExtJS网格重新渲染自身?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆