Remove all columns from a CellTable

后端 未结 3 1653
北恋
北恋 2020-12-11 09:24

I\'m using a CellTable from GWT 2.1.0.M3. There are removeColumn functions, but no removeAllColumns or anything. Since \"columns\" is a private member of CellTable, not ev

3条回答
  •  春和景丽
    2020-12-11 10:11

    This might not be what your looking for but it works for me:

    getCellTable().setVisibleRange(0, 0);
    listViewAdapter.updateRowData(0, result);
    getCellTable().setVisibleRange(0, 10);
    

提交回复
热议问题