Hi,
We observe a behavior change that the sequences of picklist entries are different between 8.2 and 8.3 for SelectItem in an editable ListGrid.
In 8.2, the sequence of the picklist is the one we set in the valueMap. However in 8.3, the first entry of the picklist is always be the current value of the selectItem.
Can you please help us with this? This behavior change may break some test cases in our environment.
P.S. If we remove the displayField property for the selectItem, the sequence is correct. However we do need this property.
Thanks!
We are using v8.2p_2013-03-04 and v8.3p_2013-04-29. This issue can be reproduced on both IE9 and FF12 in Feature Explorer with the following code.
Steps to reproduce:
1. Click any record whose "Continent" is some value other than "Asia" to enter the edit mode.
2. Click the picker to show the picklist of the "Continent" field.
We observe a behavior change that the sequences of picklist entries are different between 8.2 and 8.3 for SelectItem in an editable ListGrid.
In 8.2, the sequence of the picklist is the one we set in the valueMap. However in 8.3, the first entry of the picklist is always be the current value of the selectItem.
Can you please help us with this? This behavior change may break some test cases in our environment.
P.S. If we remove the displayField property for the selectItem, the sequence is correct. However we do need this property.
Thanks!
We are using v8.2p_2013-03-04 and v8.3p_2013-04-29. This issue can be reproduced on both IE9 and FF12 in Feature Explorer with the following code.
Steps to reproduce:
1. Click any record whose "Continent" is some value other than "Asia" to enter the edit mode.
2. Click the picker to show the picklist of the "Continent" field.
Code:
isc.ListGrid.create({ ID: "countryList", width:500, height:224, canEdit: true, editEvent: "click", data: countryData, fields:[ {name:"countryCode", title:"Flag", width:50, type:"image", imageURLPrefix:"flags/16/", imageURLSuffix:".png"}, {name:"countryName", title:"Country"}, {name:"continent", title:"Continent", editorType: "SelectItem",valueMap:{"Asia":"Asia","Europe":"Europe","North America":"North America","South America":"South America"}, displayField:"continent"} ] })
Comment