answered
2016-09-16 08:31:16 +0800
Darksu 1991 ● 1 ● 4 Hello psingh,
if you use ZK EE version, Combobox won't create comboitem when loading page, so the loading time is short, and it will not crash.
For example use the following code:
<window title="Test" border="normal">
<zscript><![CDATA[
List strset = new ArrayList();
for (int i = 0; i < 20000; i++) {
strset.add("" + i);
}
]]></zscript>
<combobox>
<comboitem label="item ${forEachStatus.index}" forEach="${strset}"></comboitem>
</combobox>
</window>
But again the data size is huge and will slow down the performance, thus please consider a different approach.
Best Regards,
Darksu