Smartclient version: v10.0p_2015-06-17/Enterprise Deployment
We have recently upgraded to 10.0 from 8.2. After upgrading, we are facing Drag/Drop issue between two comboBoxItem.
We have a dynamic form which contains two comboBoxItem, after typing a keyword and selecting the typed keyword in one combox, we are unable to drag/drop it to another comboxBox. I have replicated the issue in smartclient development environment. This isssue is not present when we use smartclient 8.2.
Below is the code I used to replicate the issue in smartclient development environment.
Note: Try to drag/drop a keyword(after selecting the whole keyword) from producer to combobox.
var basicSearchForm = isc.DynamicForm.create({
ID: "basicSearchForm",
numCols:6,
width:200,
colWidths:[1,1,200,1,1,1],
cellBorder:0,
itemKeyPress:"if (keyName == "Enter") basicButtonSubmit.click()",
titleOrientation:"left",
show: function() {
},
items:[
{
_constructor:"RowSpacerItem",
startRow:true
},
{
ID:"Producer",
name:"Producer",
title:"Producer",
selectOnFocus:true,
_constructor:"ComboBoxItem",
valueField: "Key",
displayField: "Name",
// optionDataSource: List_DS,
pickListHeight: 200,
autoFetchData:false,
showOptionsFromDataSource:true,
pickListProperties : { dataProperties : { fetchDelay: 500} },
width:300,
colSpan:1,
length:100
},
{
ID:"Consumer",
name:"Consumer",
title:"Consumer",
selectOnFocus:true,
_constructor:"ComboBoxItem",
editorType: "comboBox",
valueField: "Key",
displayField: "Name",
// optionDataSource: List_DS,
pickListHeight: 200,
autoFetchData:false,
startRow:true,
showOptionsFromDataSource:true,
pickListProperties : { dataProperties : { fetchDelay: 500} },
width:300,
colSpan:1,
length:100
}
]});
var basicSearchFormHLayout = isc.HLayout.create({
name: "basicSearchFormHLayout",
width:"100%",
layoutTopMargin:20,
members:[
isc.VLayout.create({
ID:"basicSearchFormVLayout",
padding:5,
autoDraw:false,
showEdges:true,
edgeSize:1,
backgroundColor:"#FFFFFF",
members:[
isc.Label.create({
contents:"test",
padding:5,
height:1,
width:400
}),
//changeSearch_LinkLabel,
basicSearchForm
]
})
]
});
var basicSearch_VLayout = isc.VLayout.create({
name: "basicSearch_VLayout",
width:"100%",
members:[
basicSearchFormHLayout
]
});
var RouteCentral_VLayout = function() {
var newCentralLayout, searchForm;
newCentralLayout = isc.VLayout.create({
name:"routeCentral_VLayout",
members:[
basicSearch_VLayout,
]
});
}
var routeCentral_VLayout = new RouteCentral_VLayout();
var Search_VLayout = isc.VLayout.create({
name:"Search_VLayout",
showEdges:false,
margin:5,
members:[
routeCentral_VLayout
]
});
var routeMain_HLayout = isc.HLayout.create({
name:"routeMain_HLayout",
//autoDraw:false,
members:[
Search_VLayout
],
});
function showBasicLayout() {
basicSearch_VLayout.show();
}
Can you please take a look at this issue?
We have recently upgraded to 10.0 from 8.2. After upgrading, we are facing Drag/Drop issue between two comboBoxItem.
We have a dynamic form which contains two comboBoxItem, after typing a keyword and selecting the typed keyword in one combox, we are unable to drag/drop it to another comboxBox. I have replicated the issue in smartclient development environment. This isssue is not present when we use smartclient 8.2.
Below is the code I used to replicate the issue in smartclient development environment.
Note: Try to drag/drop a keyword(after selecting the whole keyword) from producer to combobox.
var basicSearchForm = isc.DynamicForm.create({
ID: "basicSearchForm",
numCols:6,
width:200,
colWidths:[1,1,200,1,1,1],
cellBorder:0,
itemKeyPress:"if (keyName == "Enter") basicButtonSubmit.click()",
titleOrientation:"left",
show: function() {
},
items:[
{
_constructor:"RowSpacerItem",
startRow:true
},
{
ID:"Producer",
name:"Producer",
title:"Producer",
selectOnFocus:true,
_constructor:"ComboBoxItem",
valueField: "Key",
displayField: "Name",
// optionDataSource: List_DS,
pickListHeight: 200,
autoFetchData:false,
showOptionsFromDataSource:true,
pickListProperties : { dataProperties : { fetchDelay: 500} },
width:300,
colSpan:1,
length:100
},
{
ID:"Consumer",
name:"Consumer",
title:"Consumer",
selectOnFocus:true,
_constructor:"ComboBoxItem",
editorType: "comboBox",
valueField: "Key",
displayField: "Name",
// optionDataSource: List_DS,
pickListHeight: 200,
autoFetchData:false,
startRow:true,
showOptionsFromDataSource:true,
pickListProperties : { dataProperties : { fetchDelay: 500} },
width:300,
colSpan:1,
length:100
}
]});
var basicSearchFormHLayout = isc.HLayout.create({
name: "basicSearchFormHLayout",
width:"100%",
layoutTopMargin:20,
members:[
isc.VLayout.create({
ID:"basicSearchFormVLayout",
padding:5,
autoDraw:false,
showEdges:true,
edgeSize:1,
backgroundColor:"#FFFFFF",
members:[
isc.Label.create({
contents:"test",
padding:5,
height:1,
width:400
}),
//changeSearch_LinkLabel,
basicSearchForm
]
})
]
});
var basicSearch_VLayout = isc.VLayout.create({
name: "basicSearch_VLayout",
width:"100%",
members:[
basicSearchFormHLayout
]
});
var RouteCentral_VLayout = function() {
var newCentralLayout, searchForm;
newCentralLayout = isc.VLayout.create({
name:"routeCentral_VLayout",
members:[
basicSearch_VLayout,
]
});
}
var routeCentral_VLayout = new RouteCentral_VLayout();
var Search_VLayout = isc.VLayout.create({
name:"Search_VLayout",
showEdges:false,
margin:5,
members:[
routeCentral_VLayout
]
});
var routeMain_HLayout = isc.HLayout.create({
name:"routeMain_HLayout",
//autoDraw:false,
members:[
Search_VLayout
],
});
function showBasicLayout() {
basicSearch_VLayout.show();
}
Can you please take a look at this issue?
Comment