'table table-striped order-history'); public $defaultOrderBy = 'Transaction.added DESC'; protected function _initColumns() { $this->addColumn('text', 'id', array('title' => '#', 'orderBy' => 'id')) ->addColumn('submitted', 'submitted', array('title' => 'Submitted', 'orderBy' => 'added')) ->addColumn('customerName', 'customerName', array('title' => 'User', 'orderBy' => 'billingLastName')) ->addColumn('money', 'total', array('title' => 'Total', 'orderBy' => 'total')) ->addColumn('paid', 'paid', array('title' => 'Paid', 'orderBy' => 'paid')) ->addColumn('order-status', 'status', array('title' => 'Status', 'orderBy' => 'status')) ->addColumn('text', 'delivery', array('title' => 'Shipping', 'orderBy' => 'delivery', 'defaultText' => '—')); return $this; } }