GWT: How to programmatically reload CellBrowser?

后端 未结 4 1956
旧时难觅i
旧时难觅i 2021-02-08 21:31

I\'m using GWT 2.1\'s CellBrowser with a custom TreeViewModel. The TreeViewModel in turn uses an AsyncDataProvider to fetch data dynamically. This all

4条回答
  •  旧时难觅i
    2021-02-08 21:58

    Found out now, the following code is basically the same but from the HasData interface instead of using AsyncDataProvider.

    HasData display;
    ...
    display.setVisibleRangeAndClearData(display.getVisibleRange(), true);
    

提交回复
热议问题