Grid Height Options

QuestionsGrid Height Options
Gary Brett asked 5 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";
$opt["height"] = "600";

Thank you


2 Answers
Abu Ghufran answered 5 years ago

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

$grid["caption"] = "Adviser Records";
$grid["height"] = "600";

Gary Brett answered 5 years ago

Brilliant, thank you for your help.

Your Answer

13 + 2 =

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:

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

Let us improve this post!