Fixed column with

QuestionsFixed column with
Hubert asked 10 years ago

I've got multi column table. I am trying to set width manually to get the best look. SO for example it should have 45 px but it have:

td role="gridcell" style="height:0px;width:47px;

or 49 ot 48 depends which options which I use autowidth, shrinktofit etc.

how simple I can set that 45 means exactly 45px

2 Answers
Hubert answered 10 years ago

of course i set $col["width"] = "45";

Abu Ghufran answered 10 years ago

Hello,

Along with column width, set
$col["fixed"]=true;
$col["width"] = "45";

This will make it exactly with same pixels.

Your Answer

5 + 16 =

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?