Limit width of Column Filter Textbox #223
Closed
rossaddison
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
Pass widget to new DataColumn(
// ...
filter: \Yiisoft\Yii\DataView\Filter\Widget\TextInputFilter::widget()
->addAttributes(['style' =>'max-width: 50px']),
// ...
), |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have the following in my
which reduces the column width but not the filter text width so the filter is still extending over the column into another column.
Any ideas how I can change this? I see there is a FilterWidget interface with 'withContent'.
Beta Was this translation helpful? Give feedback.
All reactions