addColumn('date', 'submittedDate', array('title' => 'Submitted')); $this->addColumn( 'viewLink', 'id', array( 'title' => 'Title', 'textField' => 'title', 'urlPattern' => Event::getPageUrlByType(EventConfig::TYPE_DETAILS) . '/view/%d' ) ); $this->addColumn('text', 'paymentTypeTitle', array('title' => 'Payment Type')); $this->addColumn( 'viewLink', 'transactionId', array( 'title' => 'Options', 'showFlag' => 'showReceipt', 'defaultText' => 'View Order', 'urlPattern' => App_ECommerce_Order_View::getPage('url') . '/view/%d' ) ); return $this; } }