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 5 months 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 5 months 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
PHP Grid Framework
 
Your Answer

3 + 11 =

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:

As you found this post useful...

Follow us on social media!

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

Let us improve this post!