IDEMPIERE-2969:update to use zk8-osgi library
hotfix for issue report by HansAnton Riess at https://groups.google.com/d/msg/idempiere/bvmQ8sqyWbk/-JVGeLfxAQAJ need confirm with zk team to true fix
This commit is contained in:
parent
ccd94ecce1
commit
3787fc1904
|
@ -149,6 +149,13 @@ public class SimpleTreeModel extends org.zkoss.zul.DefaultTreeModel<Object> impl
|
|||
}
|
||||
}
|
||||
|
||||
private boolean isExpandAll = true;
|
||||
|
||||
@Override
|
||||
public boolean isPathOpened(int[] path) {
|
||||
return isExpandAll || super.isPathOpened(path);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param ti
|
||||
* @param node
|
||||
|
@ -328,4 +335,12 @@ public class SimpleTreeModel extends org.zkoss.zul.DefaultTreeModel<Object> impl
|
|||
fireEvent(TreeDataEvent.CONTENTS_CHANGED, getPath(parent), i, i);
|
||||
}
|
||||
}
|
||||
|
||||
public boolean isExpandAll() {
|
||||
return isExpandAll;
|
||||
}
|
||||
|
||||
public void setExpandAll(boolean isExpandAll) {
|
||||
this.isExpandAll = isExpandAll;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue