Add number column to $columns container

@param $name
@param string $label
@param int $decimal
@return \FrenchFrogs\Table\Column\Number
760764
public function addNumber($name, $label = '', $decimal = 2)
    {
        $c = new Column\Number($name, $label, $decimal);
        $this->addColumn($c);
        return $c;
    }
800044
public function addButton($name, $label, $attr = [] )
    {
        $e = new \FrenchFrogs\Form\Element\Button($name, $label, $attr);
        $this->addElement($e);
        return $e;
    }
990077
public function addPassword($name, $label = '',  $is_mandatory = true )
    {
        $e = new \FrenchFrogs\Form\Element\Password($name, $label);
        $this->addElement($e);

        if ($is_mandatory) {
            $e->addRule('required');
        } else {
            $e->addFilter('nullable');
        }

        return $e;
    }
802044
public function name(string $name, string $label) : ChartViewDefiner
    {
        $definer = new ChartViewDefiner($this->dataSource, $name, $label);

        $this->viewDefiners[] = $definer;

        return $definer;
    }
319417
public function addText($name, $label = '', $attr = [])
    {
        $c = new Column\Text($name, $label, $attr);
        $this->addColumn($c);
        return $c;
    }
662723
public function addSection($name, $label, $position=0)
    {
        $sectionManager = $this->container->get('admin.configuration.configsection_manager');
        $section = $sectionManager->getRepository()->findOneByName($name);
        if (!$section) {
            $section = new ConfigSection();
            $section->setName($name);
            $section->setSLabel($label);
            $section->setPosition($position);
            $sectionManager->create($section);

            return true;
        }

        return false;
    }
1036856
public function withMetadata(string $name, string $label)
    {
        $this->contentGroup->metadata[$name] = ['name' => $name, 'label' => $label, 'order' => $this->order++];

        return $this;
    }
644562
protected function add_column_header($key, $label, $sortable = true, $columnclass = '') {
        if (empty($this->columns)) {
            $this->define_columns([$key]);
            $this->define_headers([$label]);
        } else {
            $this->columns[$key] = count($this->columns);
            $this->column_style[$key] = array();
            $this->column_class[$key] = $columnclass;
            $this->column_suppress[$key] = false;
            $this->headers[] = $label;
        }
        if ($columnclass !== null) {
            $this->column_class($key, $columnclass);
        }
        if (!$sortable) {
            $this->no_sorting($key);
        }
    }
156878
protected function handleRelationColumn($method, $label)
    {
        $model = $this->model()->eloquent();

        if (!method_exists($model, $method)) {
            return false;
        }

        if (!($relation = $model->$method()) instanceof Relation) {
            return false;
        }

        if ($relation instanceof HasOne || $relation instanceof BelongsTo) {
            $this->model()->with($method);

            return $this->addColumn($method, $label)->setRelation(snake_case($method));
        }

        if ($relation instanceof HasMany || $relation instanceof BelongsToMany || $relation instanceof MorphToMany) {
            $this->model()->with($method);

            return $this->addColumn(snake_case($method), $label);
        }

        return false;
    }
1292165
public function addCheckbox($name, $label = '', $multi  = [], $attr = [] )
    {
        $e = new \FrenchFrogs\Form\Element\Checkbox($name, $label, $multi, $attr);
        $this->addElement($e);
        return $e;
    }
103981
public function addDateTime($name, $label)
	{
		$comp = new DateTimeInput($label);
		$this->addComponent($comp, $name);

		return $comp;
	}
102961
public function createTab($name, $label, $options = array())
    {
        $options = array_replace(
            $options,
            array(
                'label' => $label,
                'inherit_data' => true,
            ));

        $tab = $this->formBuilder->create($name, TabsTabType::class, $options);
        $this->formBuilder->get('tabs')->add($tab);

        return $tab;
    }
484144
public function add($columns, $label = null)
    {

        if (!is_array($columns)) {
            $columns = [$columns => $label];
        }

        foreach ($columns as $column => $label) {
            if (is_null($label)) {
                $label = str_replace(['_', '-'], ' ', ucfirst($column));
            }

            $this->add[$column] = $label;
        }

        return $this;
    }
121544
public function setDimensionLabel($dim, $label)
    {
        $this->labels[$dim] = $label;
        
        $this->updateDimensionFields();
        
        return $this;
    }
453990
public function add($name, $label, $type, $validation = '')
    {
        if (strpos($type, "\\") !== false) {
            $field_class = $type;
        } else {
            $field_class = '\Zofe\Rapyd\DataForm\Field\\' .  ucfirst($type);
        }

        //instancing
        if (isset($this->model)) {
            $field_obj = new $field_class($name, $label, $this->model, $this->model_relations);
        } else {
            $field_obj = new $field_class($name, $label);
        }

        if (!$field_obj instanceof Field) {
            throw new \InvalidArgumentException('Third argument («type») must point to class inherited Field class');
        }

        if ($field_obj->type == "file") {
            $this->multipart = true;
        }

        //default group
        if (isset($this->default_group) && !isset($field_obj->group)) {
            $field_obj->group = $this->default_group;
        }
        $this->fields[$name] = $field_obj;

        return $field_obj;
    }
1345926
public function addPre($name, $label = '', $attr = [])
    {
        $c = new Column\Pre($name, $label, $attr);
        $this->addColumn($c);
        return $c;
    }
778139
public function addFile($name, $label = '', $is_mandatory = true)
    {
        $e = new \FrenchFrogs\Form\Element\File($name, $label);
        $this->addElement($e);

        if ($is_mandatory) {
            $e->addRule('required');
        } else {
            $e->addFilter('nullable');
        }

        return $e;
    }