Title: working with combo editor in datagrid-cellediting Post by: korenanzo on June 28, 2016, 12:58:07 AM I use data grid-cellediting
I have comboboxes and combogrid as cell editors in onCellEdit I've managed to bind events on the input field because even when in edit mode I need to move on other cells and rows, so I've binded onkeydown to check thearrowkeys . the problem arises when I have a combobox as input field: pressing arrow down, for example, if the combo panel is closed I want to jump to the next row/cell else I want to move into the panel rows the question is when I am into the onkeydown event , how can I reach the whole combobox object, to check if the panel is visible? note that if I ask $(this).data() I obtain only a validatebox object, with the options. Thanks RIc Title: Re: working with combo editor in datagrid-cellediting Post by: stworthy on June 28, 2016, 04:56:18 PM You can call 'getEditor' method to get the current editor and then get the combo object.
Code: onCellEdit: function(index,field,value){ Title: Re: working with combo editor in datagrid-cellediting Post by: korenanzo on June 29, 2016, 06:51:00 AM gotit, thanks
|