Hi there,
I have a TileGrid where I disabled the canReorderTiles. If I set "canDrag" to true, then it is possible to reorder, even if I'm defining canReorderTiles to false.
It shouldn't be possible to reorder the items if canReorderTiles:false, even if canDrag is set to true.
See here:

This is reproducable witth the latest nightly (SmartClient_v100p_2015-11-12_Pro) and all browsers.
Here is the code for reproduction
I have a TileGrid where I disabled the canReorderTiles. If I set "canDrag" to true, then it is possible to reorder, even if I'm defining canReorderTiles to false.
It shouldn't be possible to reorder the items if canReorderTiles:false, even if canDrag is set to true.
See here:
This is reproducable witth the latest nightly (SmartClient_v100p_2015-11-12_Pro) and all browsers.
Here is the code for reproduction
Code:
testData = [
{
value: 1,
elementId: 1
},
{
value: 2,
elementId: 2
},
{
value: 3,
elementId: 3
},
{
value: 4,
elementId: 4
},
{
value: 5,
elementId: 5
}];
isc.VLayout.create({
ID : "vLayout",
width : "100%",
height : "100%",
members : [
isc.TileGrid.create({
ID : "dropzoneElement",
width : "100%",
height : "100%",
canReorderTiles : false, //!!
canDrag: true, //!!
showAllRecords : true,
selectionType : "multiple",
tileWidth : 50,
tileHeight : 50,
data : testData,
fields: [
{name:"value"}
]
})]
});
Comment