PHP Grid toolbar takes up a full page

QuestionsPHP Grid toolbar takes up a full page
Svilen Kirov asked 5 years ago

When using the demo version or the classic css file ( lib/js/jqgrid/css/ui.jqgrid.classic.css ) the toolbar works as intended, but with premium both toolbars take up a full page.

Please fix.

Code: https://gist.github.com/ueslito/f18371bce72822558239be08c39d649c

Screenshot 1: https://imgur.com/jlHk88W

Screenshot 2: https://imgur.com/L3ZuBpd

Screenshot 3: https://imgur.com/kOjY02D

2 Answers
Abu Ghufran Staff answered 5 years ago

Hello,

Try following:

#1) Add HTML DOCTYPE before <html> tag. e.g.

<!DOCTYPE html>
<html lang=”en-US”>
<head>
….

#2) Move <style> tag on line 30 to 47.

#3) No related but to use latest JS persistence library as mentioned here on 165:
https://gist.github.com/gridphp/3cd2da000ab152e935d2d6b1d6c2df0e#file-persist-settings-php-L165

and to use persistence, you also need to add line 196.

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Svilen Kirov answered 5 years ago

Fxed it by changing the height of the toolbar in the ui.jqgrid.css file

Your Answer

4 + 17 =

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?