Hi,
i create a simple model with name, text and one file , that i insert using the crud and filestore funcionalities.
This is the model code :
class Model_Batch extends Model_Table {
public $entity_code='batch';
public $table_alias='ba';
function init(){
parent::init();
$this->addField('name');
$this->addField('description');
$this->addField('batch_file')->refModel('Model_Filestore_File')->displaytype('file');
}
Now my question is : How can i download or show the file in an MVCgrid ?
Actually the MVCgrid shows me the file ID , i need to connect the name with the file.
Thank you