开发者

How can I force GWT widget to update?

I have GWT widget(FlexTable) on my page. When I set some rows on it to visible false, it will be not updated. How can I force 开发者_高级运维it to update?


GWT hides by adding "display:none" as inline style to the element be it table row or anything else. Look in the rendered HTML and see if this style is applied, if not paste the code as mabn pointed out.

If hiding does not happen, the usual reason is there must be some other piece of code that is invoked by your refresh/update on the Flextable that re-renders back / re-displays the hidden rows. Service callbacks often do this, due to the asynchronous nature of the callback, code in the callback that usually renders a table full of data, often does so unexpectedly.

Search for the code that populates your table (this is usually inside a callback) and check if it's invoked after you have hidden some rows.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜