Search code examples
javascriptjqgrid

Why can't I select text (jqgrid input)


Why can't I select text with the cursor if the input control is inside the jqgrid table?

The problem is relevant only for IE browser Example

I found a solution.

to enable selection for all browsers you need to use this code

$(".ui-jqgrid-bdiv").off("mousedown");

To enable for IE browser you need to use this code:

$(".ui-jqgrid-bdiv").off("selectstart");

Solution

  • I found a solution.

    to enable selection for all browsers you need to use this code

    $(".ui-jqgrid-bdiv").off("mousedown");
    

    To enable for IE browser you need to use this code:

    $(".ui-jqgrid-bdiv").off("selectstart");