Horizontal bar and the column width

QuestionsHorizontal bar and the column width
KB asked 10 years ago

hi,

How to fix the column width and force the grid to show the horizontal bar? I tested below setting but it doesn't help.

$col["fixed"]=true;
$col["width"]="20";

$opt["shrinkToFit"] = false; (or true)

my verison: v1.6.4

Any clue?

Thanks.
KB

2 Answers
Abu Ghufran answered 10 years ago

You also need to set grid width, and all column sum width should be greater than 500.

$grid["width"] = "550";
$grid["shrinkToFit"] = false;

$g->set_options($grid);

KB answered 10 years ago

Resolved. Thanks a lot.

KB.

Your Answer

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