src/Html/HasEditor.php
public function editor($fields)
    {
        $this->setTemplate($this->config->get('datatables-html.editor', 'datatables::editor'));

        $editor = $this->newEditor($fields);

        $this->editors[] = $editor;

        return $this;
    }
public function editor($fields)
    {
        $this->setTemplate($this->config->get('datatables-html.editor', 'datatables::editor'));

        $editor = $this->newEditor($fields);

        $this->editors[] = $editor;

        return $this;
    }
public function editor ( $ fields ) { $ this -> setTemplate ( $ this -> config -> get ( 'datatables-html.editor' , 'datatables::editor' ) ) ; $ editor = $ this -> newEditor ( $ fields ) ; $ this -> editors [ ] = $ editor ; return $ this ; }
Integrate with DataTables Editor.

@param array|Editor $fields
@return $this
@see https://editor.datatables.net/
@throws \Exception
Integrate with DataTables Editor .