2016-07-28 14 views

答えて

1

dojox.grid.DataGrid::onCellFocusイベントで聞くことができます。イベント引数は、フォーカスされたcell --Object自体とそれに対応するrowIndexです。

function onCellFocus(cell, rowIndex) { 

    // first clear selection 
    grid.selection.clear(); 

    // select the focused row 
    grid.selection.setSelected(rowIndex, true); 

    // invoke manually the render method 
    grid.render(); 
} 

私はを見つけることができるあなたのための作業フィドルを作成しました。

関連する問題