Can I save the size of a Grid?

QuestionsCan I save the size of a Grid?
Jelmer Bakker asked 10 years ago

Hi fellow phpGrid users,

I'm wondering if it's possible to save a specific size of my phpGrid and how. Please answer as soon as possible.

Major thanks in advance,

– Jelmer

3 Answers
Abu Ghufran answered 10 years ago

Hello,

You can set width/height in set_options() function.

$opt["width"] = "200";
$opt["height"] = "200";

Refer docs for more.

Jelmer Bakker answered 10 years ago

Hello,

Thanks Abu for your response. I found $dg -> set_dimension(00,00); which also works.

Thanks again,

– Jelmer

Abu Ghufran answered 10 years ago

Hi,

Perhaps, you are using http://www.phpgrid.com and we only provide support for the product at http://www.phpgrid.org.
Hope it clears.

Your Answer

5 + 20 =

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?