'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('text', 'customerName', array('title' => 'Customer Name', 'orderBy' => 'customerName')) ->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')); return $this; } }