Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/gwt/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Gwt celltable:意外行为:当记录从页面中删除时,其他记录在页面中重复_Gwt_Grid_Gwt 2.2 Celltable_Gwt Celltable - Fatal编程技术网

Gwt celltable:意外行为:当记录从页面中删除时,其他记录在页面中重复

Gwt celltable:意外行为:当记录从页面中删除时,其他记录在页面中重复,gwt,grid,gwt-2.2-celltable,gwt-celltable,Gwt,Grid,Gwt 2.2 Celltable,Gwt Celltable,我使用的是celltable——gwt2.3。 我在牢房里发现了奇怪的行为。 我手机桌的页面大小是10。共找到13项记录。 当页面包含3条记录时 A 11 B 2 22 C 3 33 当我删除任何一条记录(例如记录)时,该记录将从页面中删除,但其他记录将在页面中重复/设置。 即 B 2 22 C 3 33 C 3 33 佩奇正在尝试设置3个记录。 删除1条记录后,页面中应包含2条记录 我也打过电话 updateRowData(startIndexOfPage,记录列表) updateRowCo

我使用的是celltable——gwt2.3。 我在牢房里发现了奇怪的行为。 我手机桌的页面大小是10。共找到13项记录。 当页面包含3条记录时 A 11 B 2 22 C 3 33

当我删除任何一条记录(例如记录)时,该记录将从页面中删除,但其他记录将在页面中重复/设置。 即 B 2 22 C 3 33 C 3 33 佩奇正在尝试设置3个记录。 删除1条记录后,页面中应包含2条记录

我也打过电话

  • updateRowData(startIndexOfPage,记录列表)
  • updateRowCount(UpdateRecordCount,true)
还是同一个问题:-|

怎么了?如何解决这个问题


提前感谢

//设置要在一页上显示的完整值列表。

cellTable.setRowData(listOfRecord); // This solved my problem

第4-13行的数据是什么样的?删除一行后,页面中不应出现两条记录-除非明确更改,否则页面大小不会更改。