Column Dropdown Search Filter width

QuestionsColumn Dropdown Search Filter width
Gaëtan asked 4 years ago

Is it possible to make the search dropdown column filter wider than the column itself ?

I have tried the following but no effects there:

$col["searchoptions"] = array("style"=>"width:200px", "value"=>$str);


3 Answers
Abu Ghufran answered 4 years ago

The search filter width is 100% by default and cannot be changed.
If you can share exact issue, i can suggest some alternate solution.

Screenshot would help.

Abu Ghufran answered 4 years ago


You need to increase the column width to make it visible.
e.g $col['width'] = '100';

Perhaps, this is limitation of Select2.

Your Answer

7 + 20 =

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?