Esempio n. 1
0
 /**
  * @param \Spryker\Zed\Gui\Communication\Table\TableConfiguration $config
  *
  * @return \Spryker\Zed\Gui\Communication\Table\TableConfiguration
  */
 protected function configure(TableConfiguration $config)
 {
     $config->setHeader([SpyProductAbstractTableMap::COL_ID_PRODUCT_ABSTRACT => 'ID', SpyProductAbstractTableMap::COL_SKU => 'SKU', SpyProductAbstractLocalizedAttributesTableMap::COL_NAME => 'Name', self::COL_CHECKBOX => 'Selected']);
     $config->setSearchable([SpyProductAbstractTableMap::COL_SKU, SpyProductAbstractLocalizedAttributesTableMap::COL_NAME]);
     $config->addRawColumn(self::COL_CHECKBOX);
     $config->setPageLength(10);
     return $config;
 }