Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
475
Arrow Key
posted

Hi,

In infragistics Grid, I have a dropdown where we have disabled the mouse wheel move when the user clicks on the cell (we have aclass  inherited from  EditorWithCombo . which overrides OnTextBoxMouseWheel and Handled is set to True) .  We want to enable arrow key move on pressing up and down arrow. Curently on pressing the arrow key, it moves to a different row on the grid even if the cell is in edit mode. Is there a way I can enable  arrow key move in the dropdown in Grid or should I capture the arrow ket move and navigate through the list?

Thanks,

Vijayan

Parents
No Data
Reply
  • 49378
    posted

    Hi Vijayan,

    It has been some time since your post, however in case you still need assistance I would be glad to help.

    I assume that you are using a column with a WebCombo as an editor provider. You can use the WebCombo's EditKeyDown client-side event (which would be fired upon arrow press when the cell is in edit mode) in order to open the combo's dropdownlist. For instance

    function WebCombo1_EditKeyDown(webComboId,newValue,keyCode){
        if (keyCode == 40) {
            igcmbo_getComboById("WebCombo1").setDropDown(true);
        }
    }

    Please note that the UltraWebGrid control is now outdated and as of .NetAdvantage 2011 Volume 2 is no longer included in our product package. I would suggest that you consider switching to the WebDataGrid/WebHieararchicalDataGrid. More information regarding these controls is available at:

    http://help.infragistics.com/NetAdvantage/ASPNET/2011.2/CLR4.0/?page=Web_WebDataGrid_WebDataGrid.html

    Additional samples demonstrating the features of these grids can be found at:
    http://samples.infragistics.com/aspnet/

    Feel free to contact me if you have any questions.

     

Children
No Data