IDEMPIERE-2436:ZK7 - NPE and Strange log after customise window grid layout (add/remove col)
This commit is contained in:
parent
231054bae0
commit
f694f489ec
|
@ -616,6 +616,8 @@ public class GridView extends Vbox implements EventListener<Event>, IdSpace, IFi
|
||||||
}
|
}
|
||||||
|
|
||||||
private void updateModel() {
|
private void updateModel() {
|
||||||
|
if (listModel != null)
|
||||||
|
((GridTable)tableModel).removeTableModelListener(listModel);
|
||||||
listModel = new GridTableListModel((GridTable)tableModel, windowNo);
|
listModel = new GridTableListModel((GridTable)tableModel, windowNo);
|
||||||
listModel.setPageSize(pageSize);
|
listModel.setPageSize(pageSize);
|
||||||
if (renderer != null && renderer.isEditing())
|
if (renderer != null && renderer.isEditing())
|
||||||
|
|
Loading…
Reference in New Issue