Grid height

QuestionsGrid height
Cliff asked 9 years ago

Is it possible to set the height of a grid while having the width set to 'autowidth'? Something like set_dimension('autowidth', 300); This would be useful when using master-detail grids.



2 Answers
Abu Ghufran answered 9 years ago

The height of the grid can be set as percentage or any valid measured value, in set_options() function.

$opt["height"] = "400";

You can also leave it blank to set height based on records.

$opt["height"] = "";

Cliff answered 9 years ago

Perfect – many thanks for your prompt response and excellent product. Keep up the good work!

Your Answer

9 + 18 =

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?