Column Dropdown Search Filter width

QuestionsColumn Dropdown Search Filter width
Gaëtan asked 3 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 3 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 3 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

20 + 14 =

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 / 5. Vote count:

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

Let us improve this post!