List cell value

Posted:
Mon Dec 20, 2010 7:14 am
by jsantari
Two questions; is there a way to get the entire final contents displayed in a list cell using delegates? There is a blank space at the beginning of each cell I'd like to remove. Also, can you disable the link for a cell?
Re: List cell value

Posted:
Mon Dec 20, 2010 10:41 am
by shannah
1. You can override the output for a cell using the delegate class method:
- Code: Select all
myfield__renderCell($record){
return 'my cell contents';
}
2. You can disable the link in the cell by adding the noLinkFromListView=1 directive to the field in the fields.ini file:
- Code: Select all
[myfield]
noLinkFromListView=1
Re: List cell value

Posted:
Mon Dec 20, 2010 2:09 pm
by jsantari
Thanks for the noLink... that works. However the html blank is still always at the beginning of the data in a cell and its not in the $record->display('field_name') value so its being interjected somewhere in the code. Not sure where to look to find it.