Super!
Thanks
Gil
Announcement
Collapse
No announcement yet.
X
-
We've now made a couple of framework changes to address this issue. The performance should be much better if you pick up the next nightly build on the 12.1 or 13.0 branch (Dated May 29 or above)
Regards
Isomorphic Software
Leave a comment:
-
Hi Gedri
Thanks for the clear test case.
One quick change you can make with a noticeable impact is to specify an explicit data type for the field:
Code:var form = isc.DynamicForm.create({ ID:"exampleForm", width:450, wrapItemTitles: false, fields: [ { editorType:"SelectItem", type:"integer" multiple:true } ] }); var bigValueMap = {}; var value = []; for (var i=1; i<2000; i++) { bigValueMap[i] = "option #" + i; value.add(i); }; form.getField(0).setValueMap(bigValueMap); form.getField(0).setValue(value);
Regards
Isomorphic Software
Leave a comment:
-
Performance issue with multi-select picklist and large value map
Hi Isomorphic,
I'm experiencing a very long delay when trying to open the picklist of a multi-select item when the value map contains few thousand entries and all items are selected.
I am wondering whether there is something you can improve or am I doing something wrong?
Here is a simple code snippet to illustrate the problem:
Code:var form = isc.DynamicForm.create({ ID:"exampleForm", width:450, wrapItemTitles: false, fields: [ { type:"select", multiple:true }, ] }); var bigValueMap = {}; var value = []; for (var i=1; i<2000; i++) { bigValueMap[i] = "option #" + i; value.add(i); }; form.getField(0).setValueMap(bigValueMap); form.getField(0).setValue(value);
Seen with the latest SC build: v12.1p_2021-05-22Tags: None
Leave a comment: