I don't get the initialSort working for ComboBoxItem. I've changed the example to include this:
I've put initialSort in two places, because to me it is unclear where to put it. But both at once don't seem to work and one directly on the combo box or one in the picklist properties also seems to fail.
Am I doing something wrong?
Code:
isc.DynamicForm.create({ ID:"exampleForm", width:300, fields: [ { name:"itemID", type:"select", width:240, title:"Item", optionDataSource:"supplyItem", valueField:"SKU", displayField:"itemName", initialSort: [ { property: "unitCosts", direction: "descending" }, { property: "itemName", direction: "ascending" } ], pickListWidth:450, pickListFields: [ { name: "itemName" }, { name: "units" }, { name: "unitCost" } ], pickListProperties: { initialSort: [ { property: "unitCosts", direction: "descending" }, { property: "itemName", direction: "ascending" } ] } } ] });
Am I doing something wrong?
Comment