protected function changeColumnOrder()
    {
        /**
         * @var GridFieldDataColumns $columns
         */
        $columns = $this->getComponentByType(GridFieldDataColumns::class);

        $columns->setDisplayFields(
            [
                'Title'          => _t(__CLASS__ . '.Title', 'Title'),
                'BlogPostsCount' => _t(__CLASS__ . '.Posts', 'Posts'),
                'MergeAction'    => 'MergeAction',
                'Actions'        => 'Actions'
            ]
        );
    }
protected function changeColumnOrder()
    {
        /**
         * @var GridFieldDataColumns $columns
         */
        $columns = $this->getComponentByType(GridFieldDataColumns::class);

        $columns->setDisplayFields(
            [
                'Title'          => _t(__CLASS__ . '.Title', 'Title'),
                'BlogPostsCount' => _t(__CLASS__ . '.Posts', 'Posts'),
                'MergeAction'    => 'MergeAction',
                'Actions'        => 'Actions'
            ]
        );
    }
protected function changeColumnOrder ( ) { /**
         * @var GridFieldDataColumns $columns
         */ $ columns = $ this -> getComponentByType ( GridFieldDataColumns :: class ) ; $ columns -> setDisplayFields ( [ 'Title' => _t ( __CLASS__ . '.Title' , 'Title' ) , 'BlogPostsCount' => _t ( __CLASS__ . '.Posts' , 'Posts' ) , 'MergeAction' => 'MergeAction' , 'Actions' => 'Actions' ] ) ; }
Reorders GridField columns so that Actions is last.
Reorders GridField columns so that Actions is last .