Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

[bug] ListGrid.selectionUpdated not called with canSelectCells:true

$
0
0
SmartClient Version: v9.1p_2014-03-03/PowerEdition Deployment (built 2014-03-03)

when you have a grid with canDragSelect: true and canSelectCells: true, the selectionUpdated method doesn't get called when selecting a single cell, but gets called only when you drag select multiple cells, and even if you dragSelect multiple cells but, before releasing the mouse, you return to a single cell being selected.

you can try it in the gridToExcel sample, adding to the grid definition the selectionUpdated method:
Code:

selectionUpdated: function (record, recordList) {
    isc.logEcho('selection updated')
},


Viewing all articles
Browse latest Browse all 4756

Trending Articles