考慮:在gwt中,計算celltable中行總數的最簡單代碼是什麼?
CellTable<List<String>> table = new CellTable<List<String>>();
ListDataProvider<List<String>> dataProvider = new ListDataProvider<List<String>>();
dataProvider.addDataDisplay(table);
List<List<String>> list = dataProvider.getList();
是什麼在celltable計算總行的最簡單的代碼?
thax,我做到了,但它是奇怪的表或simplepager沒有獲取總行的函數。 – Tom 2013-04-23 12:59:38