Commit 9c0a3448 by TTouka

[#1] fixed width of text field in filters

parent 234a56f9
...@@ -63,7 +63,7 @@ class TbDataColumn extends CDataColumn ...@@ -63,7 +63,7 @@ class TbDataColumn extends CDataColumn
if(is_array($this->filter)) if(is_array($this->filter))
echo CHtml::activeDropDownList($this->grid->filter, $this->name, $this->filter, array('id'=>false,'prompt'=>'')); echo CHtml::activeDropDownList($this->grid->filter, $this->name, $this->filter, array('id'=>false,'prompt'=>''));
elseif($this->filter===null) elseif($this->filter===null)
echo CHtml::activeTextField($this->grid->filter, $this->name, array('id'=>false)); echo CHtml::activeTextField($this->grid->filter, $this->name, array('id'=>false, 'class' => 'col-md-12'));
} }
else else
parent::renderFilterCellContent(); parent::renderFilterCellContent();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment