SmartClient Version: v13.1p_2025-06-26/AllModules Development Only (built 2025-06-26)
Hello, I noticed that when ListGrid.canSelectCells is enabled, if I:
- press the mouse button to select a cell, and without releasing the button
- move the cursor out of the grid
- release the mouse button while out of the grid
the selectionUpdated and cellClick methods are not called even though the cell is selected, as confirmed by countryList.getSelectedCellData()
I believe that at least selectionUpdated should be triggered.
Please try it in this test case:
Hello, I noticed that when ListGrid.canSelectCells is enabled, if I:
- press the mouse button to select a cell, and without releasing the button
- move the cursor out of the grid
- release the mouse button while out of the grid
the selectionUpdated and cellClick methods are not called even though the cell is selected, as confirmed by countryList.getSelectedCellData()
I believe that at least selectionUpdated should be triggered.
Please try it in this test case:
Code:
isc.ListGrid.create({
ID: "countryList",
width:500, height:224,
data: countryData,
fields:[
{name:"countryCode", title:"Flag", width:65, type:"image", imageURLPrefix:"flags/24/", imageURLSuffix:".png"},
{name:"countryName", title:"Country"},
{name:"capital", title:"Capital"},
{name:"continent", title:"Continent"}
],
cellClick: function (record, rowNum, colNum) {
isc.logEcho("cellClick")
return this.Super("cellClick", arguments);
},
selectionUpdated: function (record, recordList) {
isc.logEcho("selectionUpdated")
},
selectionType: "multiple",
canSelectCells: true,
canDragSelect: false
})
Comment