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
215
setting focus outside of grid
posted

I want to set focus to an html control that is outside of the grid, when the user clicks on a cell.  I've implemented the cellclickhandler, and it is being called and is doing everything else it is supposed to do, but it won't set the focus on the textbox.  It seems that because I clicked on the cell, that has the focus, and it won't let me set it elsewhere.  Is there a way to do this?

Parents
No Data
Reply
  • 80
    posted

    You can also attach this:

     

     

     

     

    function

    grid_MouseDownHandler(gridName, id, button)

    {

     

     

    var  grid = igtbl_getGridById(gridName);

    grid.Element.removeAttribute(

    "mouseDown");

    }

    to the client-side mousedown event. There is another post in this forum where it also worked for putting the focus on a child window launched from a grid. I had that problem on two different screens and this approach worked.

Children