public function get_column_data($columnname) {
        $this->setup();
        $this->currpage = 0;
        $this->query_db($this->tablemaxrows);
        $result = array();
        foreach ($this->rawdata as $row) {
            $result[] = $row->$columnname;
        }
        return $result;
    }
public function get_column_data($columnname) {
        $this->setup();
        $this->currpage = 0;
        $this->query_db($this->tablemaxrows);
        $result = array();
        foreach ($this->rawdata as $row) {
            $result[] = $row->$columnname;
        }
        return $result;
    }
public function get_column_data ( $ columnname ) { $ this -> setup ( ) ; $ this -> currpage = 0 ; $ this -> query_db ( $ this -> tablemaxrows ) ; $ result = array ( ) ; foreach ( $ this -> rawdata as $ row ) { $ result [ ] = $ row -> $ columnname ; } return $ result ; }
Using the current filtering and sorting - load all rows and return a single column from them.

@param string $columnname The name of the raw column data
@return array of data
Using the current filtering and sorting - load all rows and return a single column from them .