Hello,
I have created a datagrid with multiple column, only one is editable.
I want to add the feature up/down arrow in order to go in the previous or next rows.
I have added the foolowing code to the target column :
editoptions: { dataEvents: [
{
type: 'keydown',
fn: function (e) {
var key = e.charCode || e.keyCode;
if(key == 40) { //down arrow
//TODO go next column row }
if(key == 38) { //up arrow
//TODO go previouscolumn row}
}
}
Any help ?
Thank you
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top