Register column displayers.
973669
public static function registerColumnDisplayer()
    {
        $map = [
            'editable' => \Jblv\Admin\Grid\Displayers\Editable::class,
            'switch' => \Jblv\Admin\Grid\Displayers\SwitchDisplay::class,
            'switchGroup' => \Jblv\Admin\Grid\Displayers\SwitchGroup::class,
            'select' => \Jblv\Admin\Grid\Displayers\Select::class,
            'image' => \Jblv\Admin\Grid\Displayers\Image::class,
            'label' => \Jblv\Admin\Grid\Displayers\Label::class,
            'button' => \Jblv\Admin\Grid\Displayers\Button::class,
            'link' => \Jblv\Admin\Grid\Displayers\Link::class,
            'badge' => \Jblv\Admin\Grid\Displayers\Badge::class,
            'progressBar' => \Jblv\Admin\Grid\Displayers\ProgressBar::class,
            'radio' => \Jblv\Admin\Grid\Displayers\Radio::class,
            'checkbox' => \Jblv\Admin\Grid\Displayers\Checkbox::class,
            'orderable' => \Jblv\Admin\Grid\Displayers\Orderable::class,
        ];

        foreach ($map as $abstract => $class) {
            Column::extend($abstract, $class);
        }
    }
35567
protected function registerViews()
    {
        $path      = $this->getBasePath() . '/' . $this->convention->viewsFolder();
        $namespace = $this->config('views.namespace', $this->shortName());

        if (is_dir($path)) {
            $this->loadViewsFrom($path, $namespace);
        }
    }
436221
def registerDisplay(func):
    
    setup()
    ref = weakref.ref(func)
    if ref not in _displayhooks:
        _displayhooks.append(ref)
186498
protected function loadColumns()
    {
        $statement = $this->db->query('SHOW COLUMNS FROM ' . $this->config->getDbTable());

        $this->columns = array();
        while (false !== ($column = $statement->fetchObject())) {
            $this->columns[] = new Column($column, $this->config->getDbPrefix());
        }
    }
585568
protected void display() {
        new FilterPresenter(new FilterViewUI()).go(layout);
        resultPresenter = new ResultPresenter(getResultView());
        loadStatusListener.registerObserver(resultPresenter);
        resultPresenter.go(layout);

    }
142175
public void register(String table, String column, Type<?> type) {
        javaTypeMapping.setType(table, column, type);
        hasTableColumnTypes = true;
    }
785815
public void setColumn(int column, double[] values) {
        checkIndices(values.length - 1, column);

        values[column] = values[column];
    }
934392
protected function registerProviders(): void
    {
        foreach ($this->providers as $provider) {
            $this->app->register($provider);
        }
    }
1208436
public final void registerIgnoreAll(final Class type, String... excludeColumns) {
        Set<String> set = ignoreAlls.get(type);
        if (set == null) {
            ignoreAlls.put(type, new HashSet<>(Arrays.asList(excludeColumns)));
        } else {
            set.addAll(Arrays.asList(excludeColumns));
        }
    }
516848
protected function registerViews()
    {
        // register views within the application with the set namespace
        $this->loadViewsFrom($this->packagePath('resources/views'), 'votee');
        // allow views to be published to the storage directory
        $this->publishes([
            $this->packagePath('resources/views') => base_path('resources/views/vendor/votee'),
        ], 'views');
    }
866905
def register_signals(self):
        """"""
        for index in self.indexes:
            if index.object_type:
                self._connect_signal(index)
157196
def _display_data(self, index):
        """"""
        return to_qvariant(self._data[index.row()][index.column()])
1275175
public static function registerColumnDisplayer()
    {
        $map = [
            'editable'    => \ShaoZeMing\Merchant\Grid\Displayers\Editable::class,
            'switch'      => \ShaoZeMing\Merchant\Grid\Displayers\SwitchDisplay::class,
            'switchGroup' => \ShaoZeMing\Merchant\Grid\Displayers\SwitchGroup::class,
            'select'      => \ShaoZeMing\Merchant\Grid\Displayers\Select::class,
            'image'       => \ShaoZeMing\Merchant\Grid\Displayers\Image::class,
            'label'       => \ShaoZeMing\Merchant\Grid\Displayers\Label::class,
            'button'      => \ShaoZeMing\Merchant\Grid\Displayers\Button::class,
            'link'        => \ShaoZeMing\Merchant\Grid\Displayers\Link::class,
            'badge'       => \ShaoZeMing\Merchant\Grid\Displayers\Badge::class,
            'progressBar' => \ShaoZeMing\Merchant\Grid\Displayers\ProgressBar::class,
            'radio'       => \ShaoZeMing\Merchant\Grid\Displayers\Radio::class,
            'checkbox'    => \ShaoZeMing\Merchant\Grid\Displayers\Checkbox::class,
            'orderable'   => \ShaoZeMing\Merchant\Grid\Displayers\Orderable::class,
        ];

        foreach ($map as $abstract => $class) {
            Column::extend($abstract, $class);
        }
    }
1257763
protected function initColumns()
    {
        parent::initColumns();
        if ($this->responsiveTable) {
            $this->attachBehavior('ywresponsive', array('class' => 'yiiwheels.widgets.grid.behaviors.WhResponsive'));
            $this->writeResponsiveCss($this->columns, $this->id);
        }
    }
395692
private function executeColumnWidths(): void
  {
    $this->loadOldColumns();

    $this->loadColumns();

    $this->enhanceColumns();

    $this->mergeColumns();

    $this->writeColumns();
  }
893226
def resizeColumnsToContents(self):
        """"""
        self._autosized_cols = set()
        self._resizeColumnsToContents(self.table_level,
                                      self.table_index, self._max_autosize_ms)
        self._update_layout()
899642
def setVisibleColumns(self, visible):
        
        colnames = self.columns()
        for c, column in enumerate(colnames):
            self.setColumnHidden(c, column not in visible)