Cannot paste into a search box

QuestionsCannot paste into a search box
Sam asked 8 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 8 years ago

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

Sam answered 8 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 8 years ago

Ok, thanks for sharing.

Your Answer

0 + 5 =

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 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

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

Let us improve this post!

Tell us how we can improve this post?