src/DataTableAbstract.php
protected function getColumnNameByIndex($index)
    {
        $name = (isset($this->columns[$index]) && $this->columns[$index] != '*')
            ? $this->columns[$index] : $this->getPrimaryKeyName();

        return in_array($name, $this->extraColumns, true) ? $this->getPrimaryKeyName() : $name;
    }
protected function getColumnNameByIndex($index)
    {
        $name = (isset($this->columns[$index]) && $this->columns[$index] != '*')
            ? $this->columns[$index] : $this->getPrimaryKeyName();

        return in_array($name, $this->extraColumns, true) ? $this->getPrimaryKeyName() : $name;
    }
protected function getColumnNameByIndex ( $ index ) { $ name = ( isset ( $ this -> columns [ $ index ] ) && $ this -> columns [ $ index ] != '*' ) ? $ this -> columns [ $ index ] : $ this -> getPrimaryKeyName ( ) ; return in_array ( $ name , $ this -> extraColumns , true ) ? $ this -> getPrimaryKeyName ( ) : $ name ; }
Get column name by order column index.

@param int $index
@return string
Get column name by order column index .