Grid Height Options

QuestionsGrid Height Options
Gary Brett asked 10 years ago

Hello, I used the $opt["height"] = "100"; & $opt["height"] = ""; in an attempt to resize the grid height but it doesn't seem to change at all, is the below code ok? I just need it to be the size of the first 20 rows so no scrollbars appear?

// set few params
$grid["caption"] = "Adviser Records";
$g->set_options($grid);
$opt["height"] = "600";

Thank you

Gary

2 Answers
Abu Ghufran answered 10 years ago

It should be above set_options function and with $grid var.

$grid["caption"] = "Adviser Records";
$grid["height"] = "600";
$g->set_options($grid);

Gary Brett answered 10 years ago

Brilliant, thank you for your help.

Your Answer

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