auto width

Questionsauto width
James asked 11 years ago

Is there any way to have grid resize automatically based on width of browser? My client has a big monitor and the grid looks very ugly on that screen since it can't be extended when he open browser in maximize.

1 Answers
Abu Ghufran answered 11 years ago

Hello,

Pasting from docs… Following setting will make it full width of screen.

Expand grid to screen width

$grid["autowidth"] = true;
$g->set_options($grid);

Your Answer

10 + 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?