public function renderFieldType($record, $fieldName, Am_Grid_ReadOnly $grid) { return $grid->renderTd(!empty($record->sql) ? '[SQL]' : '[DATA]'); }