Unable to set grid width with phpgrid 2.6. $opt["width"] is ignored

QuestionsUnable to set grid width with phpgrid 2.6. $opt["width"] is ignored
Alexander Toth asked 6 years ago

Hello Abu,
I’ve another problem with 2.6 version. I’ve noticed that all my grids have the same width (the width of the screen).

The grid option $opt[“width”] = “600”; is completely ignored. No problem instead for grid height.

1 Answers
Abu Ghufran Staff answered 6 years ago

You can set:

$opt[“responsive”] = false;

OR to change for all at once, you can edit lib/inc/jqgrid_dist.php and change:

$grid[“responsive”] = false;

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Your Answer

9 + 19 =

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?