public function __construct($grid, $name, $label)
{
$name = Helpers::formatColumnName($name);
$this->addComponentToGrid($grid, $name);
$this->label = $label;
$this->type = get_class($this);
$form = $this->getForm();
$filters = $form->getComponent(self::ID, FALSE);
if ($filters === NULL) {
$filters = $form->addContainer(self::ID);
}
$filters->addComponent($this->getFormControl(), $name);
}