Cannot paste into a search box

QuestionsCannot paste into a search box
Sam asked 3 years ago

For some odd reason, I cannot paste into any of the search boxes at the top of my columns.

I tried $col["editable"] = true;

but the cursor just sits there.

I did see in the source code there's a binding to take over 'paste' in the browser so I'm guessing this has something to do with it.

Thanks

3 Answers
Abu Ghufran answered 3 years ago

You can comment out JS files / code one by one, that might be conflicting with grid JS.

Sam answered 3 years ago

Fixed it by commenting out the whole :

jQuery(document).bind('paste', function(ev) { …..

in jqgrid_dist.php in /lib/inc

Looks like that function was for copy/pasting multi lines into a form when adding records?

Abu Ghufran answered 3 years ago

Ok, thanks for sharing.

Your Answer

5 + 6 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating / 5. Vote count:

We are sorry that this post was not useful for you!

Let us improve this post!